[FIX] hr_holidays: fix My Time Off access in multicompany
Before this commit, trying to access "My Time Off" was
not possible if connected on a company while some leaves
were created from another company.
This commit restricts that view to the leave created from
the companies the user is logged into.
closes odoo/odoo#122039
Signed-off-by:
Gvaladze Sopiko (sgv) <sgv@odoo.com>
Loading
Please register or sign in to comment