[IMP] Improvements in Configuration wizard
[odoo/odoo.git] / addons / project / project_installer.xml
1 <openerp>
2   <data>
3     <record id="view_project_installer" model="ir.ui.view">
4       <field name="name">project.installer.view</field>
5       <field name="model">project.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">Project Modules Installation</attribute>
12           </form>
13
14           <separator string="title" position="attributes">
15             <attribute name="string"
16                        >Project Management</attribute>
17           </separator>
18            <xpath expr='//separator[@string="vsep"]' position='attributes'>
19                   <attribute name='string'></attribute>
20                 </xpath>
21           <xpath expr="//label[@string='description']"
22                  position="attributes">
23             <attribute name="string">Various OpenERP applications are available to bring your project management to the next levels of control and flexibility.</attribute>
24           </xpath>
25           <xpath expr="//button[@string='Install Modules']" position="attributes">
26                    <attribute name="string">Configure</attribute>
27           </xpath>
28           <group colspan="8">
29             <field name="project_crm"/>
30             <field name="project_long_term" groups="base.group_extended"/>
31             <field name="project_wiki"/>
32             <field name="hr_timesheet_sheet"/>
33             <field name="hr_timesheet_invoice"/>
34             <field name="account_budget" groups="base.group_extended"/>
35             <field name="project_messages" groups="base.group_extended"/>
36             <separator string="Methodologies" colspan="4"/>
37             <field name="scrum"/>
38             <field name="project_gtd"/>
39           </group>
40         </data>
41       </field>
42     </record>
43
44     <record id="action_project_installer" model="ir.actions.act_window">
45       <field name="name">Project Modules Installation</field>
46       <field name="type">ir.actions.act_window</field>
47       <field name="res_model">project.installer</field>
48       <field name="view_id" ref="view_project_installer"/>
49       <field name="view_type">form</field>
50       <field name="view_mode">form</field>
51       <field name="target">new</field>
52     </record>
53
54     <record id="project_installer_todo" model="ir.actions.todo">
55       <field name="action_id" ref="action_project_installer"/>
56       <field name="sequence">3</field>
57     </record>
58      <record id="project_ir_actions_todo_tree" model="ir.ui.view">
59                     <field name="model">ir.actions.todo</field>
60                     <field name="name">project_installer_action_replace</field>
61                     <field name="type">tree</field>
62                     <field name="inherit_id" ref="base.ir_actions_todo_tree"/>
63                     <field name="arch" type="xml">
64                                 <xpath expr="//button[@string='Launch']" position="replace">
65                                 <button name="%(action_project_installer)d" states="open,skip" string="Launch" type="action" icon="gtk-execute" help="Launch Configuration Wizard"/>
66                                 </xpath>
67                         </field>
68         </record>
69   </data>
70 </openerp>