[IMP] translations: parse views iteratively instead of recursively
[odoo/odoo.git] / addons / base_setup / res_config_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4
5         <record id="view_general_configuration" model="ir.ui.view">
6             <field name="name">General Settings</field>
7             <field name="model">base.config.settings</field>
8             <field name="arch" type="xml">
9                 <form string="General Settings" class="oe_form_configuration">
10                     <header>
11                         <button string="Apply" type="object" name="execute" class="oe_highlight"/>
12                         or
13                         <button string="Cancel" type="object" name="cancel" class="oe_link"/>
14                     </header>
15                     <separator string="General Settings"/>
16                     <div>
17                         <p>
18                             <label string="You will find more options in your company details: address for the header and footer, overdue payments texts, etc."/>
19                             <button type="object" name="open_company" string="Configure your company data" icon="gtk-execute" class="oe_inline oe_link"/>
20                         </p>
21                     </div>
22                     <group>
23                         <label for="id" string="Options"/>
24                         <div>
25                             <div name="multi_company">
26                                 <field name="module_multi_company" class="oe_inline"/>
27                                 <label for="module_multi_company"/>
28                             </div>
29                         </div>
30                     </group>
31                     <group>
32                         <label for="id" string="Email"/>
33                         <div name="email">
34                             <div name="email.outgoing_server">
35                                 <button type="action"
36                                     name="%(base.action_ir_mail_server_list)d"
37                                     string="Configure outgoing email servers" class="oe_link"/>
38                             </div>
39                         </div>
40                     </group>
41                     <group>
42                         <label for="id" string="Portal access"/>
43                         <div>
44                             <div>
45                                 <field name="module_portal" class="oe_inline"/>
46                                 <label for="module_portal"/>
47                                 <p>
48                                     When you send a document to a customer
49                                     (quotation, invoice), your customer will be
50                                     able to signup to get all his documents,
51                                     read your company news, check his projects,
52                                     etc.
53                                 </p>
54                             </div>
55                         </div>
56                     </group>
57                     <group>
58                         <label for="id" string="Authentication"/>
59                         <div>
60                             <div>
61                                 <field name="module_auth_oauth" class="oe_inline"/>
62                                 <label for="module_auth_oauth"/>
63                             </div>
64                         </div>
65                     </group>
66                     <group>
67                         <label for="id" string="Import / Export"/>
68                         <div>
69                             <div>
70                                 <field name="module_base_import" class="oe_inline"/>
71                                 <label for="module_base_import"/>
72                             </div>
73                         </div>
74                     </group>
75                     <group>
76                         <label for="id" string="Google Drive"/>
77                         <div name="google_drive">
78                             <div name="module_google_drive">
79                                 <field name="module_google_drive" class="oe_inline"/>
80                                 <label for="module_google_drive"/>
81                             </div>
82                         </div>
83                     </group>
84                     <group>
85                         <label for="id" string="Google Calendar"/>
86                         <div name="google_calendar">
87                             <div name="module_google_calendar">
88                                 <field name="module_google_calendar" class="oe_inline"/>
89                                 <label for="module_google_calendar"/>
90                                     <div name="google_calendar_config_description" attrs="{'invisible': [('module_google_calendar','=',False)]}">
91                                         <p> 
92                                             Once installed, you can configure your API credentials for "Google calendar"
93                                         </p>
94                                     </div>
95                                 </div>
96                         </div>
97                     </group>
98                     <group>
99                         <label for="font" />
100                         <div>
101                             <div>
102                                 <field name="font" class="oe_inline" />
103                                 <button string="(reload fonts)" name="act_discover_fonts" type="object" class="oe_link"/>
104                             </div>
105                         </div>
106                     </group>
107                 </form>
108             </field>
109         </record>
110
111         <record id="action_general_configuration" model="ir.actions.act_window">
112             <field name="name">General Settings</field>
113             <field name="res_model">base.config.settings</field>
114             <field name="view_mode">form</field>
115             <field name="target">inline</field>
116         </record>
117         <menuitem id="menu_general_configuration" parent="base.menu_config"
118             sequence="100" action="action_general_configuration"/>
119
120         <!-- Sale config wizard -->
121         <record id="view_sale_config_settings" model="ir.ui.view">
122             <field name="name">sale settings</field>
123             <field name="model">sale.config.settings</field>
124             <field name="arch" type="xml">
125                 <form string="Configure Sales" class="oe_form_configuration">
126                     <header>
127                         <button string="Apply" type="object" name="execute" class="oe_highlight"/>
128                         or
129                         <button string="Cancel" type="object" name="cancel" class="oe_link"/>
130                     </header>
131                     <div name="linkedin">
132                         <separator string="Social Network Integration"/>
133                         <group name="LinkedIn">
134                             <label for="id" string="Contacts"/>
135                             <div name="LinkedIn">
136                                 <div name="module_web_linkedin" class="oe_inline">
137                                     <field name="module_web_linkedin"/>
138                                     <label for="module_web_linkedin"/>
139                                 </div>
140                                 <div>
141                                     <field name="module_mass_mailing" class="oe_inline"/>
142                                     <label for="module_mass_mailing"/>
143                                 </div>
144                             </div>
145                         </group>
146                     </div>
147                     <div name="customer feature" attrs="{'invisible': [('module_sale','=',False)]}">
148                         <field name="module_sale" invisible="1"/>
149                         <separator string="Quotations and Sales Orders"/>
150                         <group name="Customer">
151                             <label for="id" string="Customer Features"/>
152                             <div name="Customer Features"/>
153                         </group>
154                         <group name="Sale">
155                             <label for="id" string="Sale Features"/>
156                             <div name="Sale Features"/>
157                         </group>
158                     </div>
159                     <div name="config_sale">
160                         <field name="module_crm" invisible="1"/>
161                         <separator string="Emails Integration" attrs="{'invisible': [('module_crm','=',False)]}"/>
162                         <p name="config_email_integration" attrs="{'invisible': [('module_crm','=',False)]}">
163                             Odoo allows to automatically create leads (or others documents)
164                             from incoming emails. You can automatically synchronize emails with Odoo
165                             using regular POP/IMAP accounts, using a direct email integration script for your
166                             email server, or by manually pushing emails to Odoo using specific
167                             plugins for your preferred email application.
168                         </p>
169                     </div>
170                     <div name="config_other"/>
171                 </form>
172             </field>
173         </record>
174
175         <record id="action_sale_config" model="ir.actions.act_window">
176             <field name="name">Configure Sales</field>
177             <field name="type">ir.actions.act_window</field>
178             <field name="res_model">sale.config.settings</field>
179             <field name="view_id" ref="view_sale_config_settings"/>
180             <field name="view_mode">form</field>
181             <field name="target">inline</field>
182         </record>
183     </data>
184 </openerp>