Skip to content
Snippets Groups Projects
Commit 26ff56d9 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#86335

Related: odoo/enterprise#25235
Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
parent e214b360
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