Sunday, May 3, 2026
2 changes · saas-19.1
Resolved issues and error corrections
This update addresses a technical issue that could cause problems with voice message tests. The fix ensures that asynchronous operations complete before promises are resolved, preventing race conditions and improving test reliability. This enhances the stability of our voice messaging functionality.
Original PR description
Before this commit, voice message tests don't wait until the voice player is drawn before resolving the corresponding promise. This may lead to race conditions. This commit fixes the issue by properly `await`ing the completion of the asynchronous code before resolving the promise. Related runbot error: https://runbot.odoo.com/odoo/error/163783 Forward-Port-Of: odoo/odoo#261910 Forward-Port-Of: odoo/odoo#261795
This update resolves a technical issue that could cause instability in voice message testing within the Odoo Enterprise system. By ensuring asynchronous code waits for the voice player to load, the fix prevents race conditions and improves the reliability of these tests. This contributes to a more stable and dependable user experience.
Original PR description
Before this commit, voice message tests don't wait until the voice player is drawn before resolving the corresponding promise. This may lead to race conditions. This commit fixes the issue by properly `await`ing the completion of the asynchronous code before resolving the promise. Related runbot error: https://runbot.odoo.com/odoo/error/242411 Community: https://github.com/odoo/odoo/pull/261910 Forward-Port-Of: odoo/enterprise#115587