-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] hr_holidays: remove allocation_id on hr.leave
As part of hr_holidays B2B, the holidays allowances were moved from hr_leave_type to hr_leave_allocation. This didn't allow to take a leave longer than the maximum duration of an allocation. Also, despite all the allocations could have enough days for a certain leave, it was not possible to use all available days without splitting the leaves across the different allocations. This commit moves the holidays allowance to the hr_leave_type to remediate the issues described above. task-2834887 closes odoo#96545 Signed-off-by: phwa-odoo <phwa@odoo.com>
- Loading branch information
Philippe Wauthy
committed
Aug 11, 2022
1 parent
1a8a6c3
commit 7eaacf4
Showing
7 changed files
with
201 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.