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

[FIX] hr_holidays: fix multi company issue in days calculation


Prior to this commit, the multi company rules were bypassed due implicit
sudos (compute_sudo and self.env.user).
The function computing the number of days will now make sure to include
the right domain.

TaskId-2791030

closes odoo/odoo#86359

X-original-commit: 26ff56d9
Related: odoo/enterprise#25254
Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
Signed-off-by: default avatarWilliam Braeckman (wbr) <wbr@odoo.com>
parent b6955f16
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment