Daily updates from Odoo
Friday, July 17, 2026
1 change · saas-19.3
Code cleanup and technical improvements
This change removes duplicate internal logic for handling flexible leave intervals in Planning Holidays. The shared Holidays Gantt component already provides the same behavior, so this reduces maintenance risk without changing the user experience.
Original PR description
After commit e0b126c, `_handle_flexible_leave_interval` is already implemented in `hr_holidays_gantt` and covers the same case previously handled in `planning_holidays`. https://github.com/odoo/enterprise/blob/7ed917c1de11e29257a726efd4dafe403b9efba1/hr_holidays_gantt/models/resource_calendar.py#L17-L20 Since `planning_holidays` depends on `hr_holidays_gantt`, the duplicate implementation in `planning_holidays` is no longer necessary. **opw-6243778** Forward-Port-Of: odoo/enterprise#124477 Forward-Port-Of: odoo/enterprise#119229