diff options
| author | Toufik Ben Jaa <tbe@odoo.com> | 2019-04-24 10:20:21 +0000 |
|---|---|---|
| committer | Toufik Ben Jaa <tbe@odoo.com> | 2019-05-02 11:34:36 +0000 |
| commit | f907ffdeb96113ace6377b3b214ca8f4b4e46f79 (patch) | |
| tree | 5a92e74c2e90150b192987665e3b264f2f4d19eb /addons/web/static/src/js/tools/debug_manager.js | |
| parent | fd0a10026c06315b4fbe520a7a3604a6b395f54a (diff) | |
[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>
Diffstat (limited to 'addons/web/static/src/js/tools/debug_manager.js')
0 files changed, 0 insertions, 0 deletions
