Friday, August 15, 2025
2 changes · saas-18.3
Resolved issues and error corrections
This fix makes an internal bus testing helper more reliable by preventing timing-related failures when events arrive very quickly. It also corrects how errors are reported in the helper, reducing false test failures and improving development stability.
Original PR description
This change addresses two issues in the `waitForChannels` test utility: - Fixes a race condition. The `failTimeout` variable was sometimes accessed before its `setTimeout` declaration had been executed. This happens when a fast bus event triggers the `onWebsocketEvent` handler, resulting in a reference error. The variable is now declared at the beginning of the function, making it available before any access (fixes runbot-223252). - Corrects error in def.reject. `message` only takes one param, and a string does not have a join method. Forward-Port-Of: odoo/odoo#222967
This update reverses a recent accounting tax rounding change. It helps restore the previous behavior for tax total calculations, reducing the risk of unexpected invoice or tax amount differences.
Original PR description
As per https://github.com/odoo/odoo/pull/222759#issuecomment-3188749767 --- task-none --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#223053