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

Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
parent a45e2c03
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment