[FIX] hr_holidays: use a better heuristic when mode != employee
[FIX] hr_holidays: use a better heuristic when mode != employee

closes odoo/odoo#30082
ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo