[IMP] Improve title and label of configuration wizard.
[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 Application Configuration</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">Association Application Configuration</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 applications. A few applications 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 Application Configuration</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
55         <menuitem name="Association" id="base.menu_association" icon="terp-calendar" sequence="9" groups="base.group_extended"/>
56         <menuitem name="Events Organisation" id="base.menu_event_main" parent="base.menu_association" />
57         <menuitem name="Configuration" id="base.menu_event_config" parent="base.menu_association" sequence="30" groups="base.group_extended"/>
58         <menuitem name="Reporting" id="base.menu_report_association" parent="base.menu_association" sequence="20"/>
59     </data>
60 </openerp>