[IMP] board module and hr dashboard cleanups
[odoo/odoo.git] / addons / import_sugarcrm / import_sugarcrm_view.xml
1 <?xml version="1.0"?>
2 <openerp>
3     <data>
4
5     <!-- Import Sugarcrm Form View -->
6         <record model="ir.ui.view" id="view_import_sugarcrm_form">
7             <field name="name">import.sugarcrm.form</field>
8             <field name="model">import.sugarcrm</field>
9             <field name="type">form</field>
10             <field name="arch" type="xml">
11                 <form string="Import Data From SugarCRM">
12                                 <group col="8" >
13                                         <group colspan="2" col="1" width="200">
14                                                 <label colspan="2"  string="Import your data from SugarCRM :"/>
15                                                 <label colspan="2"  string="" />
16                                                 <label colspan="2"  string="Use the SugarSoap API URL (read tooltip) and a full access SugarCRM login."/>
17                                                 <label colspan="2"  string="" />
18                                                 <label colspan="2"  string="Choose data you want to import. Click 'Import' to get data manually or 'Schedule Reccurent Imports' to get recurrently and automatically data."/>
19                                                 <label colspan="2"  string="" /> 
20                                                 <label colspan="2"  string="If you make recurrent or ponctual import, data already  in OpenERP will be updated by SugarCRM data."/>
21                                                 <label colspan="2"  string="" />
22                                                 <label colspan="2"  string="Do not forget the email address to be notified of the success of the import."/>
23                                                 <label colspan="2" />
24                                 <label colspan="2"  string="Online documentation:"/>
25                             <label colspan="2"  string="(Comming Soon)"/>
26                             <label colspan="2"  string=""/>
27                                     </group>
28                                         <separator string="" orientation="vertical" colspan="1" rowspan="24" />                
29                             <group colspan="4"> 
30                                 <separator string="Login Information" colspan="3"/>
31                                  <field name="url" colspan="4" widget="url"/>
32                                  <field name="username"/>
33                                  <newline/>
34                                  <field name="password" password="True" />
35                                  <separator string="" colspan="4"/>
36                                  <group colspan="4" col="6">
37                                     <group colspan="1" col="2">    
38                                         <separator string="Address Book" colspan="4"/>
39                                         <field name="user" />
40                                         <field name= "account" />
41                                         <field name= "contact" />
42                                     </group>                         
43                                     <group colspan="1" col="1">    
44                                         <separator string="CRM" colspan="4"/>
45                                         <field name="opportunity" />
46                                         <field name= "call" />
47                                         <field name= "meeting" />
48                                         <field name= "claim" />
49                                         
50                                      </group>
51                                  
52                                      <group colspan="2" col="2"> 
53                                         <separator string="Project" colspan="4"/>       
54                                              <field name= "project" />
55                                              <field name= "project_task" />
56                                              <field name= "bug"/>
57                                     </group>
58                                     <group colspan="1" col="2">
59                                         <separator string="HR" colspan="4"/>
60                                          <field name="employee" />  
61                                         <separator string="Document" colspan="4"/>
62                                         <field name="email_history"/>
63                                              <field name= "document" />
64                                     </group>                                
65                                   </group>  
66                                          <group colspan="4">
67                                                 <separator string="Email Notification When Import is finished" colspan="4"/>
68                                                 <field name="email_from" widget="email" string="Email Address to Notify"/>
69                                         </group>
70                                         <group colspan="4" groups="base.group_no_one">   
71                                                         <separator string="Multi Instance Management" colspan="4"/>
72                                                 <field name="instance_name"/>
73                                        </group>
74                                 <separator string="" colspan="4" />
75                             <group colspan="4" col="6">
76                                 <label string="" colspan="2"/>
77                                 <button  icon="gtk-cancel" special="cancel" string="_Cancel"/>
78                                  <button name="import_from_scheduler_all" groups="base.group_extended" string="_Schedule Recurrent Imports"
79                                            type="object" icon="gtk-execute" />
80                                 <button name="import_all" string="_Import"
81                                         type="object" icon="terp-camera_test"/>
82                            </group>                                    
83                             </group>
84                         </group>   
85                 </form>
86             </field>
87         </record>
88
89         <!-- Import Sugarcrm Action -->
90
91     <record model="ir.actions.act_window" id="action_import_sugarcrm">
92         <field name="name">Import SugarCRM</field>
93         <field name="res_model">import.sugarcrm</field>
94         <field name="view_type">form</field>
95         <field name="view_mode">tree,form</field>
96         <field name="view_id" ref="view_import_sugarcrm_form"/>
97         <field name="target">new</field>
98     </record>
99
100     
101     <menuitem name="Import SugarCRM" id="menu_sugarcrm_import" parent="import_base.menu_import_crm" action="action_import_sugarcrm" icon="STOCK_EXECUTE"/>
102
103     </data>
104 </openerp>
105