Friday, April 22, 2022
1 change · master
Resolved issues and error corrections
This fix prevents the Belgian payroll working schedule change wizard from failing when no start date is available. It uses today's date as a safe fallback, helping HR users continue schedule changes without interruption.
Original PR description
When the _compute_new_allocation method is called from _compute_time_off_allocation, the date_start is not defined when the wizard is open. This commit takes today as date_start if not defined