1 <?xml version="1.0" encoding="utf-8"?>
4 <!-- After installation of the module, open the related menu -->
5 <record id="todo_open_hr_menu" model="ir.actions.todo">
6 <field name="action_id" ref="hr.action_client_hr_menu"/>
7 <field name="type">automatic</field>
8 <field name="sequence">100</field>
12 <record id="hr.todo_open_hr_menu" model="ir.actions.todo">
13 <field name="state">done</field>
15 <record id="view_hr_timehseet_config_settings" model="ir.ui.view">
16 <field name="name">hr settings for timesheets</field>
17 <field name="model">hr.config.settings</field>
18 <field name="inherit_id" ref="hr.view_human_resources_configuration"/>
19 <field name="arch" type="xml">
20 <xpath expr="//div[@name='hr_timesheet']" position="after">
22 <label for="timesheet_range" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)]}"/>
23 <field name="timesheet_range" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)], 'required': [('module_hr_timesheet_sheet','=',True)]}" class="oe_inline"/>
26 <label for="timesheet_max_difference" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)]}"/>
27 <field name="timesheet_max_difference" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)], 'required': [('module_hr_timesheet_sheet','=',True)]}" class="oe_inline"/>