[IMP] Use the openerp namespace in YML tests.
[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" version="7.0" 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>
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 attrs="{'invisible': [('module_portal_anonymous','=',False)]}">
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                                 <field name="module_portal_anonymous" class="oe_inline"/>
57                                 <label for="module_portal_anonymous"/> <span class="oe_grey">(company news, jobs, contact form, etc.)</span>
58                                 <p attrs="{'invisible': [('module_portal_anonymous','=',False)]}">
59                                     The public portal is accessible only if you are in a single database mode. You can
60                                     launch the OpenERP Server with the option <b>--db-filter=YOUR_DATABAE</b> to do so.
61                                     Once activated, the login page will be replaced by the public website.
62                                 </p>
63                             </div>
64                         </div>
65                     </group>
66                     <group>
67                         <label for="id" string="Authentication"/>
68                         <div>
69                             <div>
70                                 <field name="module_auth_oauth" class="oe_inline"/>
71                                 <label for="module_auth_oauth"/>
72                             </div>
73                         </div>
74                     </group>
75                     <group>
76                         <label for="id" string="Import / Export"/>
77                         <div>
78                             <div>
79                                 <field name="module_base_import" class="oe_inline"/>
80                                 <label for="module_base_import"/>
81                             </div>
82                         </div>
83                     </group>
84                 </form>
85             </field>
86         </record>
87
88         <record id="action_general_configuration" model="ir.actions.act_window">
89             <field name="name">General Settings</field>
90             <field name="res_model">base.config.settings</field>
91             <field name="view_mode">form</field>
92             <field name="target">inline</field>
93         </record>
94         <menuitem id="menu_general_configuration" parent="base.menu_config"
95             sequence="100" action="action_general_configuration"/>
96
97         <!-- Sale config wizard -->
98         <record id="view_sale_config_settings" model="ir.ui.view">
99             <field name="name">sale settings</field>
100             <field name="model">sale.config.settings</field>
101             <field name="arch" type="xml">
102                 <form string="Configure Sales" version="7.0" class="oe_form_configuration">
103                     <header>
104                         <button string="Apply" type="object" name="execute" class="oe_highlight"/>
105                         or
106                         <button string="Cancel" type="object" name="cancel" class="oe_link"/>
107                     </header>
108                     <div name="linkedin">
109                         <separator string="Social Network Integration"/>
110                         <group name="LinkedIn">
111                             <label for="id" string="Contacts"/>
112                             <div name="LinkedIn">
113                                 <div name="module_web_linkedin" class="oe_inline">
114                                     <field name="module_web_linkedin"/>
115                                     <label for="module_web_linkedin"/>
116                                 </div>
117                             </div>
118                         </group>
119                     </div>
120                     <div name="customer feature" attrs="{'invisible': [('module_sale','=',False)]}">
121                         <field name="module_sale" invisible="1"/>
122                         <separator string="Quotations and Sales Orders"/>
123                         <group name="Customer">
124                             <label for="id" string="Customer Features"/>
125                             <div name="Customer Features"/>
126                         </group>
127                         <group name="Sale">
128                             <label for="id" string="Sale Features"/>
129                             <div name="Sale Features"/>
130                         </group>
131                     </div>
132                     <div name="config_sale">
133                         <field name="module_crm" invisible="1"/>
134                         <separator string="Emails Integration" attrs="{'invisible': [('module_crm','=',False)]}"/>
135                         <p attrs="{'invisible': [('module_crm','=',False)]}">
136                             OpenERP allows to automatically create leads (or others documents)
137                             from incoming emails. You can automatically synchronize emails with OpenERP
138                             using regular POP/IMAP accounts, using a direct email integration script for your
139                             email server, or by manually pushing emails to OpenERP using specific
140                             plugins for your preferred email application.
141                         </p>
142                         <group name="On Mail Client" attrs="{'invisible': [('module_crm','=',False)]}">
143                             <label for="id" string="On Mail Client"/>
144                             <div>
145                                 <div name="module_plugin_thunderbird" attrs="{'invisible': [('module_crm','=',False)]}" class="oe_inline">
146                                     <field name="module_plugin_thunderbird"/>
147                                     <label for="module_plugin_thunderbird"/>
148                                 </div>
149                                 <div name="module_plugin_outlook" attrs="{'invisible': [('module_crm','=',False)]}">
150                                     <field name="module_plugin_outlook" class="oe_inline"/>
151                                     <label for="module_plugin_outlook"/>
152                                 </div>
153                             </div>
154                         </group>
155                     </div>
156                     <div name="config_other"/>
157                 </form>
158             </field>
159         </record>
160
161         <record id="action_sale_config" model="ir.actions.act_window">
162             <field name="name">Configure Sales</field>
163             <field name="type">ir.actions.act_window</field>
164             <field name="res_model">sale.config.settings</field>
165             <field name="view_id" ref="view_sale_config_settings"/>
166             <field name="view_mode">form</field>
167             <field name="target">inline</field>
168         </record>
169
170     </data>
171 </openerp>