Daily updates from Odoo
Thursday, March 19, 2026
1 change · saas-19.2
Enhancements to existing features
This update allows for leave creation even when an employee has a validated payslip, providing greater flexibility for HR. The change relaxes previous restrictions based on payroll impact and disability percentages, ensuring employees can schedule leave without impacting payroll calculations. This improves the user experience for Swiss clients.
Original PR description
Currently we block leave creation if the employee has a validated payslip in that period. In this commit we relax the constraint in the following way, we will allow to put the leave if: - `l10n_ch_swissdec_payroll_impact` is False - `l10n_ch_continued_pay_percentage` and `l10n_ch_disability_percentage` are BOTH 100% if `l10n_ch_swissdec_payroll_impact` is True - `l10n_ch_swissdec_work_interruption` cannot be True in both cases task-5948505 Forward-Port-Of: odoo/enterprise#107847