Daily updates from Odoo
Monday, March 18, 2024
1 change · master
Resolved issues and error corrections
The task planning dialog now handles single task selection consistently with the regular Select action instead of auto-planning unexpectedly. It also prevents an error when planning tasks without assigned people, making scheduling more reliable for project teams.
Original PR description
In the Plan dialog of the project tasks gantt view, you can choose to either plan your tasks according to the selected timespan with the "Select" button, or you can choose to Auto Plan them with the "Auto plan" button. However, when you click on a single line, it gets auto planned, which shouldn't happen, it should be planned with the logic of the "Select" button. Plus there was a traceback when trying to plan only tasks with no assignees, because we would do a division by zero without checking beforehand that it mustn't happen. This PR aims to fix these problems.