Thursday, October 30, 2025
1 change · saas-18.2
Resolved issues and error corrections
This fix ensures Belgian payroll stops paying public holidays that fall during long-term sick leave after the legally defined 30-day period. It helps payroll teams calculate employee pay more accurately and stay aligned with Belgian rules.
Original PR description
Bug: In Belgium, after 30 calendar days of sick leave, all public holidays during the sick leaves are no longer paid. But here they were still being paid. Cause: The method that was checking what to do about public holidays was never seeing public holidays since they were already changed to their corresponding work entries at the work entry generation. Fix: Add the public holidays in the context and change the condition for checking if the current leave is actually from a public holiday or not. Task: 3864585 Forward-Port-Of: odoo/enterprise#98292 Forward-Port-Of: odoo/enterprise#95178