[FIX] purchase: cr -> self.cr in report
[odoo/odoo.git] / addons / hr / hr_installer.xml
1 <openerp>
2   <data>
3     <record id="view_hr_installer" model="ir.ui.view">
4       <field name="name">hr.installer.view</field>
5       <field name="model">hr.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">Human Resources Modules Installation</attribute>
12           </form>
13
14           <separator string="title" position="attributes">
15             <attribute name="string">Configure Human Resources"</attribute>
16           </separator>
17           <xpath expr="//label[@string='description']"
18                  position="attributes">
19             <attribute name="string">The base Human Resources addon will help you manage your employee roster, but your can enhance it even further by installing a few HR-related applications.</attribute>
20           </xpath>
21           <group colspan="8">
22             <separator string="Human Resources Management" colspan="4"/>
23             <field name="hr_holidays"/>
24             <field name="hr_expense"/>
25             <field name="hr_recruitment"/>
26             <field name="hr_timesheet_sheet"/>
27             <field name="hr_contract"/>
28             <field name="hr_evaluation"/>
29             <field name="hr_attendance"/>
30           </group>
31         </data>
32       </field>
33     </record>
34
35     <record id="action_hr_installer" model="ir.actions.act_window">
36       <field name="name">Human Resources Modules Installation</field>
37       <field name="type">ir.actions.act_window</field>
38       <field name="res_model">hr.installer</field>
39       <field name="view_id" ref="view_hr_installer"/>
40       <field name="view_type">form</field>
41       <field name="view_mode">form</field>
42       <field name="target">new</field>
43     </record>
44
45     <record id="hr_installer_todo" model="ir.actions.todo">
46       <field name="action_id" ref="action_hr_installer"/>
47       <field name="sequence">3</field>
48     </record>
49   </data>
50 </openerp>