1 <?xml version="1.0" encoding="utf-8"?>
4 <!-- After installation of the module, open the related menu -->
5 <record id="action_client_hr_menu" model="ir.actions.client">
6 <field name="name">Open HR Menu</field>
7 <field name="tag">reload</field>
8 <field name="params" eval="{'menu_id': ref('menu_hr_root')}"/>
10 <record id="base.open_menu" model="ir.actions.todo">
11 <field name="action_id" ref="action_client_hr_menu"/>
12 <field name="state">open</field>
16 <record id="open_payroll_modules" model="ir.actions.act_window">
17 <field name="name">Payroll</field>
18 <field name="res_model">ir.module.module</field>
19 <field name="view_mode">kanban,tree,form</field>
20 <field name="context" eval="{'search_default_category_id': ref('base.module_category_localization')}"/>
21 <field name="search_view_id" ref="base.view_module_filter"/>
24 <record id="view_human_resources_configuration" model="ir.ui.view">
25 <field name="name">hr settings</field>
26 <field name="model">hr.config.settings</field>
27 <field name="arch" type="xml">
28 <form string="Configure Human Resources" version="7.0" class="oe_form_configuration">
30 <button string="Apply" type="object" name="execute" class="oe_highlight"/>
32 <button string="Cancel" type="object" name="cancel" class="oe_link"/>
34 <separator string="Human Resources Management"/>
35 <group name="recruitment_grp">
36 <label for="id" string="Talent Management"/>
37 <div name="recruitment">
39 <field name="module_hr_recruitment" class="oe_inline"/>
40 <label for="module_hr_recruitment"/>
43 <field name="module_hr_evaluation" class="oe_inline"/>
44 <label for="module_hr_evaluation"/>
49 <label for="id" string="Additional Features"/>
52 <field name="module_hr_holidays" class="oe_inline"/>
53 <label for="module_hr_holidays"/>
56 <field name="module_hr_expense" class="oe_inline"/>
57 <label for="module_hr_expense"/>
61 <group name="timesheet_grp">
62 <label for="id" string="Time Tracking"/>
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"/>
72 <div name="account_analytic_analysis">
73 <field name="module_account_analytic_analysis" class="oe_inline"/>
74 <label for="module_account_analytic_analysis"/>
76 <div name="hr_attendance">
77 <field name="module_hr_attendance" on_change="onchange_hr_attendance(module_hr_attendance)" class="oe_inline"/>
78 <label for="module_hr_attendance"/>
82 <group name="contract_grp">
83 <label for="id" string="Contracts"/>
86 <field name="module_hr_contract" class="oe_inline"/>
87 <label for="module_hr_contract"/>
89 <div name="hr_payroll">
90 <field name="module_hr_payroll" class="oe_inline"/>
91 <label for="module_hr_payroll"/>
92 <button name="%(open_payroll_modules)d" type="action"
93 string="Install your country's payroll" icon="gtk-go-forward"
94 attrs="{'invisible': [('module_hr_payroll','=',False)]}" class="oe_link"/>
102 <record id="action_human_resources_configuration" model="ir.actions.act_window">
103 <field name="name">Configure Human Resources</field>
104 <field name="res_model">hr.config.settings</field>
105 <field name="view_id" ref="view_human_resources_configuration"/>
106 <field name="view_mode">form</field>
107 <field name="target">inline</field>
110 <menuitem id="menu_human_resources_configuration" name="Human Resources" parent="base.menu_config"
111 sequence="15" action="action_human_resources_configuration"/>