[FIX] hr_timesheet_sheet : traceback when clicking on settings/companies records

This commit is contained in:
Yannick Tivisse
2015-07-03 14:44:31 +02:00
committed by Richard Mathot
parent c8b00014f0
commit 9f33dd3b64
@@ -260,12 +260,12 @@
<field name="timesheet_range"/>
<field name="timesheet_max_difference"/>
<div>
<label for="timesheet_range" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)]}"/>
<field name="timesheet_range" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)], 'required': [('module_hr_timesheet_sheet','=',True)]}" class="oe_inline"/>
<label for="timesheet_range"/>
<field name="timesheet_range" required="1" class="oe_inline"/>
</div>
<div>
<label for="timesheet_max_difference" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)]}"/>
<field name="timesheet_max_difference" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)], 'required': [('module_hr_timesheet_sheet','=',True)]}" class="oe_inline"/>
<label for="timesheet_max_difference"/>
<field name="timesheet_max_difference" required="1" class="oe_inline"/>
</div>
</group>
</xpath>