Daily updates from Odoo
Wednesday, March 30, 2022
3 changes · master
Resolved issues and error corrections
This fix prevents the login page from crashing when the signup feature is installed. Users can access the login screen normally again, avoiding a blocking error that prevented account access.
Original PR description
Install auth_signup, go to /web/login, 500 Internal Server Error. auth_signup extends the /web/login template and in this extension calls `keep_query()` which has been wrongly moved from base to http_routing in commit 880954ebfc1. Here, we restored `keep_query()` were it was.
This update fixes several small field service workflow issues across planning, helpdesk, timesheets, projects, and sales-linked projects. Users should see clearer views, fewer misleading warnings, and fewer incorrect access errors when working with scheduled tasks and timesheets.
Original PR description
some bug fixes for field services - In Planning, the avatar widget should still be displayed when the employee is archived - In Helpdesk, aligned the kanban state to the right in helpdesk ticket - In Timesheets grid view, removed the dark grey background color of total column -In Project gantt view, when the task is planned during the time off of an employee, the task in conflict warning should not be displayed if there are no conflicts -In Timesheet, fixed access right error while user create sale order project task-2774812
This update prevents shared test settings in the Gantt planning view from being accidentally changed by one test and affecting later tests. It improves the reliability of automated checks, reducing false failures and helping development teams maintain quality with less rework.
Original PR description
Since https://github.com/odoo/enterprise/commit/fc5179a3580e1a01d66f5ebd0e2fc58854476e44 `ganttViewParams` which is used for all the tests is modified during the test on `collapse_first_level`. As such, it is potentially breaking tests that are performed after as they were relying on the fact that `collapse_first_level` is not set. This commit prevent the mutation of `ganttViewParams`. This commit also: - Adds missing `;` in tests. - Modifies some of the assert in order to improve debugging when test fails.