[MERGE]: Merge with lp:trunk-configuration-rework
[odoo/odoo.git] / addons / base_setup / base_setup_installer.xml
1 <openerp>
2   <data>
3     <record id="view_base_setup_installer" model="ir.ui.view">
4       <field name="name">base.setup.installer.view</field>
5       <field name="model">base.setup.installer</field>
6       <field name="type">form</field>
7       <field name="inherit_id" ref="base.res_config_installer"/>
8       <field name="arch" type="xml">
9         <data>
10           <form position="attributes">
11             <attribute name="string">Install Applications</attribute>
12           </form>
13           <xpath expr="//label[@string='description']" position="attributes">
14                 <attribute name="string">Select the Applications you want your system to cover. If you are not sure about your exact needs at this stage, you can easily install them later.</attribute>
15           </xpath>
16           <xpath expr='//separator[@string="vsep"]' position='attributes'>
17                     <attribute name='string'></attribute>
18                     <attribute name='rowspan'>15</attribute>
19           </xpath>
20           <xpath expr="//button[@string='Install Modules']" position="attributes">
21                     <attribute name="string">Install</attribute>
22           </xpath>
23           <separator string="title" position="attributes">
24             <attribute name="string">Install Applications</attribute>
25           </separator>
26             
27           <group colspan="8">
28             <field name="crm" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
29             <field name="sale" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
30             <field name="project" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
31             <field name="knowledge" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
32             <field name="stock" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
33             <field name="mrp" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
34             <field name="account_voucher" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
35             <field name="account_accountant" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
36             <field name="purchase" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
37             <field name="hr" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
38             <field name="profile_tools" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
39             <field name="marketing" groups="base.group_extended" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
40             <field name="point_of_sale" groups="base.group_extended" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
41             <field name="report_designer" groups="base.group_extended" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
42             <separator string="Install Specific Industry Applications" colspan="4"/>
43             <field name="association" attrs="{'readonly':['|',('auction','=',True),('product_expiry','=',True)]}" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
44             <field name="auction" attrs="{'readonly':['|',('association','=',True),('product_expiry','=',True)]}" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
45             <field name="product_expiry" attrs="{'readonly':['|',('association','=',True),('auction','=',True)]}" on_change="onchange_moduleselection(crm,sale,project,knowledge,stock,mrp,account_accountant,purchase,hr,point_of_sale,marketing,profile_tools,report_designer,association,auction,product_expiry)"/>
46           </group>
47         </data>
48       </field>
49     </record>
50
51     <record id="action_base_setup_installer" model="ir.actions.act_window">
52       <field name="name">Install Applications</field>
53       <field name="type">ir.actions.act_window</field>
54       <field name="res_model">base.setup.installer</field>
55       <field name="view_id" ref="view_base_setup_installer"/>
56       <field name="view_type">form</field>
57       <field name="view_mode">form</field>
58       <field name="target">new</field>
59     </record>
60
61     <record id="base_setup_installer_todo" model="ir.actions.todo">
62         <field name="action_id" ref="action_base_setup_installer"/>
63         <field name="sequence">2</field>
64         <field name="restart">always</field>
65     </record>
66   </data>
67 </openerp>