[MERGE] Merged with addons/trunk.
[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                         <label string="You will also find several configuration options on your company data:
18                             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                     </div>
21                     <group>
22                         <label for="id" string="Options"/>
23                         <div>
24                             <div name="multi_company">
25                                 <field name="module_multi_company" class="oe_inline"/>
26                                 <label for="module_multi_company"/>
27                             </div>
28                         </div>
29                     </group>
30                     <group>
31                         <label for="id" string="Share Data"/>
32                         <div>
33                             <div>
34                                 <field name="module_share" class="oe_inline"/>
35                                 <label for="module_share"/>
36                             </div>
37                             <div>
38                                 <field name="module_portal" class="oe_inline"/>
39                                 <label for="module_portal"/>
40                             </div>
41                             <div>
42                                 <button type="action"
43                                     name="%(base.action_ir_mail_server_list)d"
44                                     string="Configure outgoing email servers" class="oe_link"/>
45                             </div>
46                         </div>
47                     </group>
48                 </form>
49             </field>
50         </record>
51
52         <record id="action_general_configuration" model="ir.actions.act_window">
53             <field name="name">General Settings</field>
54             <field name="res_model">base.config.settings</field>
55             <field name="view_mode">form</field>
56             <field name="target">inline</field>
57         </record>
58         <menuitem id="menu_general_configuration" parent="base.menu_config"
59             sequence="100" action="action_general_configuration"/>
60
61         <!-- Sale config wizard -->
62         <record id="view_sale_config_settings" model="ir.ui.view">
63             <field name="name">sale settings</field>
64             <field name="model">sale.config.settings</field>
65             <field name="arch" type="xml">
66                 <form string="Configure Sales" version="7.0" class="oe_form_configuration">
67                     <header>
68                         <button string="Apply" type="object" name="execute" class="oe_highlight"/>
69                         or
70                         <button string="Cancel" type="object" name="cancel" class="oe_link"/>
71                     </header>
72                     <div name="linkedin">
73                         <separator string="Social Network Integration"/>
74                         <group name="LinkedIn">
75                             <label for="id" string="Contacts"/>
76                             <div name="LinkedIn">
77                                 <div name="module_web_linkedin" class="oe_inline">
78                                     <field name="module_web_linkedin"/>
79                                     <label for="module_web_linkedin"/>
80                                 </div>
81                             </div>
82                         </group>
83                     </div>
84                     <div name="customer feature">
85                         <separator string="Quotations and Sales Orders"/>
86                         <group name="Customer">
87                             <label for="id" string="Customer Features"/>
88                             <div name="Customer Features"/>
89                         </group>
90                         <group name="Sale">
91                             <label for="id" string="Sale Features"/>
92                             <div name="Sale Features"/>
93                         </group>
94                     </div>
95                     <div name="config_sale">
96                         <field name="module_crm" invisible="1"/>
97                         <separator string="Emails Integration" attrs="{'invisible': [('module_crm','=',False)]}"/>
98                         <p attrs="{'invisible': [('module_crm','=',False)]}">
99                             OpenERP allows to automatically create leads (or others documents)
100                             from incoming emails. You can automatically synchronize emails with OpenERP
101                             using regular POP/IMAP accounts, using a direct email integration script for your
102                             email server, or by manually pushing emails to OpenERP using specific
103                             plugins for your preferred email application.
104                         </p>
105                         <group name="On Mail Client" attrs="{'invisible': [('module_crm','=',False)]}">
106                             <label for="id" string="On Mail Client"/>
107                             <div>
108                                 <div name="module_plugin_thunderbird" attrs="{'invisible': [('module_crm','=',False)]}" class="oe_inline">
109                                     <field name="module_plugin_thunderbird"/>
110                                     <label for="module_plugin_thunderbird"/>
111                                 </div>
112                                 <div name="module_plugin_outlook" attrs="{'invisible': [('module_crm','=',False)]}">
113                                     <field name="module_plugin_outlook" class="oe_inline"/>
114                                     <label for="module_plugin_outlook"/>
115                                 </div>
116                             </div>
117                         </group>
118                     </div>
119                     <div name="config_other"/>
120                 </form>
121             </field>
122         </record>
123
124         <record id="action_sale_config" model="ir.actions.act_window">
125             <field name="name">Configure Sales</field>
126             <field name="type">ir.actions.act_window</field>
127             <field name="res_model">sale.config.settings</field>
128             <field name="view_id" ref="view_sale_config_settings"/>
129             <field name="view_mode">form</field>
130             <field name="target">inline</field>
131         </record>
132
133     </data>
134 </openerp>