Skip to content
Snippets Groups Projects
Commit 84d8bf81 authored by William Braeckman's avatar William Braeckman
Browse files

[FIX] hr_work_entry: fix multi calendar issue with global time off


When creating a global time off in one resource.calendar A , it will be
propagated on any new resource.calendar B.
However the reverse is not true, if I delete the global time off in
calendar A it will not be deleted in calendar B.
During the work entry generation this is not taken into account, a
contract using calendar A will generate leave work entries because of
the global time off in calendar B.
This is due to a change in PR odoo/enterprise#15091.

The domain is now correct and will only fetch the right leaves.

TaskId-2627378

closes odoo/odoo#88725

X-original-commit: 0bac1d33a25e37ebece69de030b9fd72caa43a02
Signed-off-by: default avatarKevin Baptiste <kba@odoo.com>
Signed-off-by: default avatarWilliam Braeckman (wbr) <wbr@odoo.com>
parent 0597ec05
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment