[FIX] hr_attendance: hide create on overtime
Current Behaviour: - 'Create' button on hr.attendance.overtime is present but serve no purpose Behaviour after PR: - 'Create' button is hidden 'Create' in hr.attendance.overtime is present but has no effect because all the overtime are computed based on attendance. opw-2730433 closes odoo/odoo#83068 X-original-commit: 7fea5ebcb58c79f93b688ccce90f1f506323414f Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<field name="name">hr.attendance.overtime.tree</field>
|
||||
<field name="model">hr.attendance.overtime</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree edit="0">
|
||||
<tree edit="0" create="0">
|
||||
<field name="date"/>
|
||||
<field name="employee_id"/>
|
||||
<field name="duration" widget="float_time"/>
|
||||
|
||||
Reference in New Issue
Block a user