[MERGE] merge with latest stable
[odoo/odoo.git] / addons / hr / hr_installer.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3   <data>
4
5     <record id="view_hr_installer" model="ir.ui.view">
6       <field name="name">hr.installer.view</field>
7       <field name="model">hr.installer</field>
8       <field name="type">form</field>
9       <field name="inherit_id" ref="base.res_config_installer"/>
10       <field name="arch" type="xml">
11         <data>
12             <form position="attributes">
13                 <attribute name="string">Human Resources Application Configuration</attribute>
14             </form>
15             <separator string="title" position="attributes">
16                 <attribute name="string">Configure Your Human Resources Application</attribute>
17             </separator>
18             <xpath expr='//separator[@string="vsep"]' position='attributes'>
19                 <attribute name='string'></attribute>
20             </xpath>
21             <xpath expr="//label[@string='description']" position="attributes">
22                 <attribute name="string">You can enhance the base HR Application by installing few HR-related functionalities.</attribute>
23             </xpath>
24           <group colspan="8">
25             <field name="hr_holidays"/>
26             <field name="hr_expense"/>
27             <field name="hr_recruitment"/>
28             <field name="hr_timesheet_sheet"/>
29             <field name="hr_contract"/>
30             <field name="hr_attendance"/>
31             <field name="hr_evaluation" groups="base.group_extended"/>
32             <field name="hr_payroll" groups="base.group_extended"/>
33             <field name="hr_payroll_account" groups="base.group_extended"/>
34           </group>
35           <xpath expr="//button[@string='Install Modules']" position="attributes">
36               <attribute name="string">Configure</attribute>
37           </xpath>
38         </data>
39       </field>
40     </record>
41
42     <record id="action_hr_installer" model="ir.actions.act_window">
43       <field name="name">Human Resources Application Configuration</field>
44       <field name="type">ir.actions.act_window</field>
45       <field name="res_model">hr.installer</field>
46       <field name="view_id" ref="view_hr_installer"/>
47       <field name="view_type">form</field>
48       <field name="view_mode">form</field>
49       <field name="target">new</field>
50     </record>
51
52     <record id="hr_installer_todo" model="ir.actions.todo">
53       <field name="action_id" ref="action_hr_installer"/>
54       <field name="sequence">3</field>
55             <field name="restart">always</field>
56     </record>
57
58   </data>
59 </openerp>