-
- Downloads
[FIX] hr_payroll: allow to request leaves
- When having multiples contracts, at least one open and one closed, we may
not be able to request a leave.
This issue is triggered if the closed contract has no end date.
The code checks if the leave you try create overlap over multiple contracts.
But if a contract has no end date and is closed, the check may never
succeed.
So if a contract has no end date and is closed we don't take it in
account.
closes odoo/odoo#32909
Signed-off-by:
Toufik Benjaa (tbe) <tbe@odoo.com>
Please register or sign in to comment