Tuesday, April 9, 2024
1 change · saas-17.1
Resolved issues and error corrections
When planning a new task from the Gantt view without the Timesheets app installed, allocated hours were not being calculated automatically. This fix ensures planned task hours are computed as expected, improving scheduling accuracy for project users.
Original PR description
Before this commit, when project_enterprise is installed and not Timesheets app and the user tries to plan a new task via the gantt view. The allocated hours for this new task is not automatically computed during the onchange since the allocated hours field is only defined in the form view when `hr_timesheet` module is installed. This commit adds the allocated hours in invisible in the form view used by the gantt view to be sure the onchange will be called when the planned dates are set in the form view of the gantt view. runbot-58033