[MOD] Configuration wizard: small changes
[odoo/odoo.git] / addons / association / profile_association.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         <record id="view_confirm_install_module_form" model="ir.ui.view">
5             <field name="name">Association Profile : Install extra modules</field>
6             <field name="model">profile.association.config.install_modules_wizard</field>
7             <field name="type">form</field>
8             <field name="inherit_id" ref="base.res_config_installer"/>
9             <field name="arch" type="xml">
10               <data>
11                 <form position="attributes">
12                   <attribute name="string">Install Extra Modules</attribute>
13                 </form>
14                 <xpath expr='//separator[@string="vsep"]' position='attributes'>
15                           <attribute name='string'></attribute>
16                         </xpath>
17                 <xpath expr="//label[@string='description']"
18                        position="attributes">
19                   <attribute name="string">Install more modules. A few modules are proposed according to the Association Profile you selected. You will be able to install them based on our requirements.</attribute>
20                 </xpath>
21                 <xpath expr="//button[@string='Install Modules']" position="attributes">
22                     <attribute name="string">Configure</attribute>
23                 </xpath>
24                 <separator string="title" position="replace"/>
25                 <group colspan="8">
26                   <separator string="Project Management" colspan="4"/>
27                   <field name="project"/>
28                   <field name="project_gtd"/>
29                   <field name="wiki"/>
30                   <separator string="Event Management" colspan="4"/>
31                   <field name="event_project"/>
32                   <separator string="Resources Management" colspan="4"/>
33                   <field name="hr_expense"/>
34                 </group>
35               </data>
36             </field>
37         </record>
38
39         <record id="action_config_install_module" model="ir.actions.act_window">
40             <field name="name">Association Profile : Install Extra Modules</field>
41             <field name="type">ir.actions.act_window</field>
42             <field name="res_model">profile.association.config.install_modules_wizard</field>
43             <field name="view_id" ref="view_confirm_install_module_form"/>
44             <field name="view_type">form</field>
45             <field name="view_mode">form</field>
46             <field name="target">new</field>
47         </record>
48
49       <record model="ir.actions.todo"
50             id="config_install_module">
51         <field name="action_id" ref="action_config_install_module"/>
52         <field name="sequence">3</field>
53       </record>
54        <record id="association_ir_actions_todo_tree" model="ir.ui.view">
55         <field name="model">ir.actions.todo</field>
56         <field name="name">association_installer_action_replace</field>
57         <field name="type">tree</field>
58         <field name="inherit_id" ref="base.ir_actions_todo_tree"/>
59                 <field name="arch" type="xml">
60                  <xpath expr="//button[@string='Launch']" position="replace">
61                 <button name="%(action_config_install_module)d" states="open,skip" string="Launch" type="action" icon="gtk-execute" help="Launch Configuration Wizard"/>
62                 </xpath>
63         </field>
64                 </record>
65     </data>
66 </openerp>