Saturday, May 10, 2025
3 changes · saas-18.3
Resolved issues and error corrections
Project users can now open task forms that include timesheet entries without running into errors caused by timer information they are not allowed to access. The change limits timer-related data checks to users who have Timesheets access, improving reliability for teams using projects and field service workflows.
Original PR description
Before this commit, the project user cannot access to the form view of a task with timesheets recorded, because the fields related to the timer are always computed and crash if the user does not have any access to timesheet app. This commit makes sure the timer fields are only read if the user has access to timesheets app. task-4782330
This fix places the task-hours display widgets in the correct location for Field Service tasks. It resolves a performance issue, helping task views load and run more smoothly for users.
Original PR description
Commit-https://github.com/odoo/enterprise/commit/9e8ae6df6920e4c10659a87f3f802957a423f44c In above commit, 'fsmTaskWithHours' and 'taskWithHours' were not set in the correct place, which caused a performance issue. task-4760561
When users choose to review all checks on an account return, the checks page now stays open instead of immediately sending them back to the return and moving it to the next state. This prevents unintended workflow progress and ensures state changes only happen through the main Review Checks action.
Original PR description
Before the commit: On a return which passed all checks in 'new' state, when we clicked the dots then click review all checks. It would open the checks view with all the checks green then instantly redirect to the return view. It would also automatically forward to the next state. This is because there is a call to refresh the checks on the page load of the checks view. During this page load, a call to try_forward_state was triggered even if we didn't want to change state. Now, when we open the view from the button 'review all checks', we would not allow changing automatically to the next state. The only way is via the 'Review Checks' main button.