[IMP] mail.thread: correctly manages the 'sent only to me' email feeds preference
[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="2" 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="(Coming Soon)"/>
26               <label colspan="2"  string=""/>
27             </group>
28             <separator string="" orientation="vertical" colspan="1" rowspan="24" />
29             <group colspan="5">
30               <separator string="Login Information" colspan="4"/>
31               <field name="url" colspan="4" widget="url"/>
32               <field name="username" colspan="4"/>
33               <field name="password" password="True" colspan="4"/>
34
35               <group colspan="4">
36                 <group colspan="1" col="2">
37                   <separator string="Address Book" colspan="2"/>
38                   <field name="user" />
39                   <field name= "account" />
40                   <field name= "contact" />
41                 </group>
42                 <group colspan="1" col="2">
43                   <separator string="CRM" colspan="2"/>
44                   <field name="opportunity" />
45                   <field name= "call" />
46                   <field name= "meeting" />
47                   <field name= "claim" />
48                 </group>
49                 <group colspan="1" col="2">
50                   <separator string="Project" colspan="2"/>
51                   <field name= "project" />
52                   <field name= "project_task" />
53                   <field name= "bug"/>
54                 </group>
55                 <group colspan="1" col="2">
56                   <separator string="HR" colspan="2"/>
57                   <field name="employee" />
58                   <separator string="Document" colspan="2"/>
59                   <field name="email_history"/>
60                   <field name= "document" />
61                 </group>
62               </group>
63
64               <group colspan="4">
65                 <separator string="Email Notification When Import is finished" colspan="4"/>
66                 <field name="email_from" widget="email" string="Email Address to Notify" colspan="4"/>
67               </group>
68
69               <group colspan="4" groups="base.group_no_one">
70                 <separator string="Multi Instance Management" colspan="4"/>
71                 <field name="instance_name" colspan="4"/>
72               </group>
73
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="base.menu_import_crm" action="action_import_sugarcrm" icon="STOCK_EXECUTE" sequence="20"/>
102
103   </data>
104 </openerp>