[MERGE] backlog 10 by atp team
[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), a full access Sugar login."/>
17                                                 <label colspan="2"  string="" />
18                                                 <label colspan="2"  string="Choose groups of data you want to import. Click 'Import' to get data manually or click 'schedule reccurent import' 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 imported in OpenERP will be erased by Sugar data."/>
21                                                 <label colspan="2"  string="" />
22                                                 <label colspan="2"  string="Don't forget to add an address email 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= "account" />
40                                         <field name= "contact" />
41                                     </group>                         
42                                     <group colspan="1" col="1">    
43                                         <separator string="CRM" colspan="4"/>
44                                         <field name="opportunity" />
45                                         <field name= "call" />
46                                         <field name= "meeting" />
47                                         <field name= "claim" />
48                                         
49                                      </group>
50                                  
51                                      <group colspan="2" col="2"> 
52                                         <separator string="Project" colspan="4"/>       
53                                              <field name= "project" />
54                                              <field name= "project_task" />
55                                              <field name= "bug"/>
56                                     </group>
57                                     <group colspan="1" col="2">
58                                         <separator string="HR" colspan="4"/>
59                                          <field name="employee" />  
60                                         <separator string="Document" colspan="4"/>
61                                         <field name="email_history"/>
62                                              <field name= "document" />
63                                     </group>                                
64                                   </group>  
65                                          <group colspan="4">
66                                                 <separator string="Email Notification When Import is finished" colspan="4"/>
67                                                 <field name="email_from" widget="email" string="Email Address to Notify"/>
68                                         </group>
69                                         <group colspan="4" groups="base.group_no_one">   
70                                                         <separator string="Multi Instance Management" colspan="4"/>
71                                                 <field name="instance_name"/>
72                                        </group>
73                                 <separator string="" colspan="4" />
74                             <group colspan="4" col="6">
75                                 <label string="" colspan="2"/>
76                                 <button  icon="gtk-cancel" special="cancel" string="_Cancel"/>
77                                  <button name="import_from_scheduler_all" string="_Schedule recurrent import"
78                                            type="object" icon="gtk-execute"/>
79                                 <button name="import_all" string="_Import"
80                                         type="object" icon="terp-camera_test"/>
81                            </group>                                    
82                             </group>
83                         </group>   
84                 </form>
85             </field>
86         </record>
87
88         <!-- Import Sugarcrm Action -->
89
90     <record model="ir.actions.act_window" id="action_import_sugarcrm">
91         <field name="name">Import SugarCRM</field>
92         <field name="res_model">import.sugarcrm</field>
93         <field name="view_type">form</field>
94         <field name="view_mode">tree,form</field>
95         <field name="view_id" ref="view_import_sugarcrm_form"/>
96         <field name="target">new</field>
97     </record>
98
99     <menuitem name="Import"  id="menu_sugarcrm" parent="base.menu_base_partner"/>
100     <menuitem name="Import SugarCRM" id="menu_sugarcrm_import" parent="menu_sugarcrm" action="action_import_sugarcrm" icon="STOCK_EXECUTE"/>
101
102     </data>
103 </openerp>
104