Tuesday, May 13, 2025
2 changes · saas-18.2
Resolved issues and error corrections
This fixes intermittent failures in HR avatar-related automated tests by ensuring chat windows are properly awaited before checks run. The change improves confidence in test results and helps reduce false build failures without changing user-facing behavior.
Original PR description
There were some errors in the tests because we asserted Chat windows were present without waiting for them (except for the one tick). This produced indeterminism which are now fixed runbot-error-162715 runbot-error-163000 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
Expense users now see a clear, friendly message when the required expense account configuration is missing or belongs to the wrong company. This helps staff and administrators understand what needs to be fixed instead of being blocked by a confusing technical error.
Original PR description
The aim of this commit is to give an user friendly message when there is a lack of configuration. Context: Odoo IN didn't set up their expense account and end user faced a very unfriendly (some even says mean!) traceback. They then selected Odoo SA as main company and ended with another meanier traceback as an account from Odoo SA was selected for an expense of Odoo IN. Before this commit: End users could face an unfriendly traceback in case of lack of configuration. After this commit: End users will face a friendly userError in case of a lack of configuration. opw-4699717