[FIX] hr_holidays: update _check_holidays constrains
[FIX] hr_holidays: update _check_holidays constrains

It was possible to edit a leave request in order to use a leave type
which had no more days left. This was due to a missing field in the
constrains call.

Closes #24320

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