Friday, May 10, 2024
3 changes · saas-17.2
Resolved issues and error corrections
The time off contract validation message now shows the correct date when there is an issue. This helps HR users understand and resolve leave-related contract problems faster, without changing the underlying rules.
Automatic planning now includes open shifts even when they are not linked to a sales order line. This helps ensure eligible work shifts are not accidentally missed during scheduling, while still excluding cancelled sales-related work.
Original PR description
Before this commit, the open shifts without any SOL set are not fetched during the auto plan process because the following condition is falsy for them inside the domain used: `('sale_line_id.state', '!=', False)`.
This commit changes the domain to check if the SOL is false or if the state of the SOL set is different than 'cancel'.
runbot-61465This fix improves the readability of Gantt progress bars when warnings are shown. Hours and line names now display clearly without overlapping, making schedule information easier to review.
Original PR description
Currently, when a warning is displayed on the progress bar, the hours overlap with the name of the line. This PR will fix it by adding the class 'bg-view' to the span. task-3888502