Skip to content

Commit

Permalink
fixup! fixup! [ADD] #57 allow higher value overtime for holidays
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Dec 23, 2023
1 parent b41ad2f commit 00b8f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verdigado_attendance/models/hr_attendance.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _update_overtime(self, employee_attendance_dates=None):
}
)
else:
holiday_overtime.unlink()
holiday_overtime.sudo().unlink()
self.env["hr.attendance.overtime"].sudo().create(missing_vals)
return result

Expand Down

0 comments on commit 00b8f43

Please sign in to comment.