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