[FIX] hr_holiday: Correctly retrieve the resource
[FIX] hr_holiday: Correctly retrieve the resource

closes odoo/odoo#43146

X-original-commit: 4d3d934c76d9f6577cb0f559a8efe4178ac42881
Signed-off-by: Yannick Tivisse (yti) <200a91eb0e5cc4726d6a3430713b580138f34298@odoo.com>

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo