-
- Downloads
[FIX] hr_work_entry_holidays: Allow overlapping leaves if same schedule
Purpose ======= We currently prevent leaves overlapping several contracts to avoid messing with the generated resource.calendar.leave. In case the contracts are on the same resource calendar, this shouldn't be an issue actually. Taskid: 2836901 X-original-commit: 4e87c30bb136083153091e67e6dd9d9f64fa94c2 Part-of: odoo/odoo#94885
Showing
- addons/hr_work_entry_holidays/i18n/hr_work_entry_holidays.pot 1 addition, 1 deletion...ns/hr_work_entry_holidays/i18n/hr_work_entry_holidays.pot
- addons/hr_work_entry_holidays/models/hr_leave.py 3 additions, 3 deletionsaddons/hr_work_entry_holidays/models/hr_leave.py
- addons/hr_work_entry_holidays/tests/test_multi_contract.py 21 additions, 1 deletionaddons/hr_work_entry_holidays/tests/test_multi_contract.py
Please register or sign in to comment