Daily updates from Odoo
Wednesday, March 20, 2024
3 changes · saas-17.2
Resolved issues and error corrections
This fix stops the web interface from running the same server action more than once when it appears multiple times in the navigation path. Users should see more consistent breadcrumb labels and avoid duplicate action processing when navigating back to list views.
Original PR description
Since [1], when a server action is found in the url, it will be executed to retrieve the window action when is the current action. If the server action is found in multiple places in the url, it will be executed each time it becomes the current action. For instance, /crm/12, will execute the server action crm to retrieve the window action at the first load, and the same server action will be executed again when clicking on the breadcrumb to go back to the multi-record view. Now, After the first execution of the server action, all the same server actions found in the controller stack (breadcrumb) will be replaced with the resultant window action. This is to avoid executing multiple times the same server action. Note that, this will also use the correct display name on the breadcrumb, the one of the window action. [1] https://github.com/odoo/odoo/commit/c63d14a0485a553b74a8457aee158384e9ae6d3f
New employee and internal user records will now automatically receive a name-based avatar when no image is provided. This keeps profiles visually identifiable from the start and avoids blank images in employee and user views.
Original PR description
Ensure an avatar is generated based on the employee/user name if no image is provided at the record creation (for internal users only). TaskID: 3637523 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update stabilizes automated checks around the company switching menu by ensuring delayed router actions finish before results are checked. It reduces random test failures, helping maintain confidence in releases without changing business functionality.
Original PR description
In the "router" there are some debounced methods, and they produce some undeterministic errors. To avoid these errors, we run all timers before reading value from the router. task-3705027 runbot-error-59015 runbot-error-58156 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr