1 <?xml version="1.0" encoding="utf-8"?>
4 <record id="view_hr_timehseet_config_settings" model="ir.ui.view">
5 <field name="name">hr settings for timesheets</field>
6 <field name="model">hr.config.settings</field>
7 <field name="type">form</field>
8 <field name="inherit_id" ref="hr.view_human_resources_configuration"/>
9 <field name="arch" type="xml">
10 <field name="module_hr_timesheet_sheet" position="after">
11 <field name="timesheet_range" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)], 'required': [('module_hr_timesheet_sheet','=',True)]}"/>
12 <field name="timesheet_max_difference" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)], 'required': [('module_hr_timesheet_sheet','=',True)]}"/>