-
- Downloads
[FIX] hr_holidays_attendance: check overtime deductible during write
Steps to reproduce: - install Time Off and Attendances apps; - making sure an employee doesn't have extra hours; - create a time off type which is "Deduct Extra Hours" (A); - create a time off type which is not "Deduct Extra Hours" (B); - create a time off with the type (A); - save; - edit the time off with the type (B); - save. Issue: The time off is modified and it is possible to approve it. Solution: Check that the employee has enough extra hours if the type of time off used is "Deduct Extra Hours". opw-3141108 closes odoo/odoo#111158 X-original-commit: 2a1db0d8 Signed-off-by:Kevin Baptiste <kba@odoo.com> Signed-off-by:
Lefebvre Thomas (thle) <thle@odoo.com>
Please register or sign in to comment