Skip to content
Snippets Groups Projects
Commit e8129cd0 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#86361

X-original-commit: dbcb37ec
Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
Signed-off-by: default avatarWilliam Braeckman (wbr) <wbr@odoo.com>
parent 469ab944
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