Commit b0f068f
committed
[FIX] hr_holidays_attendance: unlink overtime_id if not deductable
This commit fixes a bug that occurs when switching a leave request
of type "Extra Hours" to another time-off type. The issue happens
when editing a leave request that allows deduction from overtime,
as it remains linked to attendance overtime that needs to be unlinked.
task-4756706
closes odoo#216880
X-original-commit: 1b1a085
Signed-off-by: Yannick Tivisse (yti) <[email protected]>
Signed-off-by: Ahmed Taha Abdelaziz (ahta) <[email protected]>1 parent 4275147 commit b0f068f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
0 commit comments