Purpose ======= The existing resource.calendar.leaves are unlinked when refusing the time off, but it could still be the case with python code changing states without calling "action_refuse". Make sure that the resource calendar leaves are always unlinked on stage change for validated time off. closes odoo/odoo#84269 X-original-commit: 83c283cb4256195975ec6dfb6096172d38393217 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>