[FIX] Fixed Status bar wrapping problems
[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" version="7.0">
12           <header>
13                   <button name="import_from_scheduler_all" string="_Schedule Recurrent Imports" type="object" class="oe_highlight"  />
14                   or
15                   <button name="import_all" string="_Import" type="object" class="oe_highlight"  />
16                   or
17                   <button string="Cancel" class="oe_link" special="cancel" />
18           </header>
19           <group col="8" >
20             <group colspan="2" col="2" width="200">
21               <label colspan="2"  string="Import your data from SugarCRM :"/>
22               <label colspan="2"  string="" />
23               <label colspan="2"  string="Use the SugarSoap API URL (read tooltip) and a full access SugarCRM login."/>
24               <label colspan="2"  string="" />
25               <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."/>
26               <label colspan="2"  string="" />
27               <label colspan="2"  string="If you make recurrent or ponctual import, data already  in OpenERP will be updated by SugarCRM data."/>
28               <label colspan="2"  string="" />
29               <label colspan="2"  string="Do not forget the email address to be notified of the success of the import."/>
30               <label colspan="2" />
31               <label colspan="2"  string="Online documentation:"/>
32               <label colspan="2"  string="(Coming Soon)"/>
33               <label colspan="2"  string=""/>
34             </group>
35             <separator string="" orientation="vertical" colspan="1" rowspan="24" />
36             <group colspan="5">
37               <separator string="Login Information" colspan="4"/>
38               <field name="url" colspan="4" widget="url"/>
39               <field name="username" colspan="4"/>
40               <field name="password" password="True" colspan="4"/>
41
42               <group colspan="4">
43                 <group colspan="1" col="2">
44                   <separator string="Address Book" colspan="2"/>
45                   <field name="user" />
46                   <field name= "account" />
47                   <field name= "contact" />
48                 </group>
49                 <group colspan="1" col="2">
50                   <separator string="CRM" colspan="2"/>
51                   <field name="opportunity" />
52                   <field name= "call" />
53                   <field name= "meeting" />
54                   <field name= "claim" />
55                 </group>
56                 <group colspan="1" col="2">
57                   <separator string="Project" colspan="2"/>
58                   <field name= "project" />
59                   <field name= "project_task" />
60                   <field name= "bug"/>
61                 </group>
62                 <group colspan="1" col="2">
63                   <separator string="HR" colspan="2"/>
64                   <field name="employee" />
65                   <separator string="Document" colspan="2"/>
66                   <field name="email_history"/>
67                   <field name= "document" />
68                 </group>
69               </group>
70
71               <group colspan="4">
72                 <separator string="Email Notification When Import is Finished" colspan="4"/>
73                 <field name="email_from" widget="email" string="Email Address to Notify" colspan="4"/>
74               </group>
75
76               <group colspan="4" groups="base.group_no_one">
77                 <separator string="Multi Instance Management" colspan="4"/>
78                 <field name="instance_name" colspan="4"/>
79               </group>
80             </group>
81           </group>
82         </form>
83       </field>
84     </record>
85
86     <!-- Import Sugarcrm Action -->
87
88     <record model="ir.actions.act_window" id="action_import_sugarcrm">
89       <field name="name">Import SugarCRM</field>
90       <field name="res_model">import.sugarcrm</field>
91       <field name="view_type">form</field>
92       <field name="view_mode">tree,form</field>
93       <field name="view_id" ref="view_import_sugarcrm_form"/>
94       <field name="target">new</field>
95     </record>
96
97
98     <menuitem name="Import SugarCRM" id="menu_sugarcrm_import" parent="base.menu_import_crm" action="action_import_sugarcrm" icon="STOCK_EXECUTE" sequence="20"/>
99
100   </data>
101 </openerp>