Friday, May 13, 2022
2 changes
Enhancements to existing features
This update adjusts internal automated tests so they work with a newer way of loading the Odoo web client. It helps reduce risk and noise ahead of a larger Discuss app modernization, with no direct functional change expected for business users.
Original PR description
*: account_invoice_extract, documents. This PR prepares the ground for the one introducing the new environment in the discuss app. Indeed, the createWebClient helper will be used instead of createView/Widget thus the returned value won't be a Widget anymore but a DOM element. This change impacts they way the tests were written: JQuery functions have to be transformed to native JavaScript ones. In order to reduce the noise in the main PR, those changes are done now. task-2582313 community: https://github.com/odoo/odoo/pull/91290
The approvals app test setup was updated to use a more consistent mock server environment. This is an internal quality improvement that helps keep automated tests aligned with the broader platform and reduces the risk of test-related maintenance issues.
Original PR description
community: https://github.com/odoo/odoo/pull/90783