4 <record id="open_payroll_modules" model="ir.actions.act_window">
5 <field name="name">Payroll</field>
6 <field name="res_model">ir.module.module</field>
7 <field name="view_mode">kanban,tree,form</field>
8 <field name="context" eval="{'search_default_category_id': ref('base.module_category_localization'), 'search_default_name': 'payroll'}"/>
9 <field name="search_view_id" ref="base.view_module_filter"/>
12 <record id="view_human_resources_configuration" model="ir.ui.view">
13 <field name="name">hr settings</field>
14 <field name="model">hr.config.settings</field>
15 <field name="type">form</field>
16 <field name="arch" type="xml">
17 <form string="Configure Human Resources" version="7.0">
19 <button string="Apply" type="object" name="execute" class="oe_highlight"/>
21 <button string="Cancel" type="object" name="cancel" class="oe_link"/>
23 <separator string="Additional Features"/>
25 <label for="id" string="Additional Features"/>
28 <field name="module_hr_expense" class="oe_inline"/>
29 <label for="module_hr_expense"/>
32 <field name="module_hr_evaluation" class="oe_inline"/>
33 <label for="module_hr_evaluation"/>
36 <field name="module_hr_holidays" class="oe_inline"/>
37 <label for="module_hr_holidays"/>
40 <field name="module_hr_recruitment" class="oe_inline"/>
41 <label for="module_hr_recruitment"/>
44 <field name="module_hr_contract" class="oe_inline"/>
45 <label for="module_hr_contract"/>
47 <div name="hr_payroll">
48 <field name="module_hr_payroll" class="oe_inline"/>
49 <label for="module_hr_payroll"/>
50 <button name="%(open_payroll_modules)d" type="action"
51 string="Install Country-Specific Payroll" icon="gtk-go-forward"
52 attrs="{'invisible': [('module_hr_payroll','=',False)]}" class="oe_link"/>
56 <separator string="Timesheets"/>
57 <group name="timesheet_grp">
58 <label for="id" string="Timesheet Features"/>
61 <field name="module_hr_attendance" on_change="onchange_hr_attendance(module_hr_attendance)" class="oe_inline"/>
62 <label for="module_hr_attendance"/>
65 <field name="module_hr_timesheet" on_change="onchange_hr_timesheet(module_hr_timesheet)" class="oe_inline"/>
66 <label for="module_hr_timesheet"/>
68 <div name="hr_timesheet">
69 <field name="module_hr_timesheet_sheet" class="oe_inline"/>
70 <label for="module_hr_timesheet_sheet"/>
78 <record id="action_human_resources_configuration" model="ir.actions.act_window">
79 <field name="name">Configure Human Resources</field>
80 <field name="res_model">hr.config.settings</field>
81 <field name="view_id" ref="view_human_resources_configuration"/>
82 <field name="view_mode">form</field>
83 <field name="target">inline</field>
86 <menuitem id="menu_human_resources_configuration" name="Human Resources" parent="base.menu_config"
87 sequence="15" action="action_human_resources_configuration"/>