Friday, September 1, 2023
2 changes · master
Code cleanup and technical improvements
This update modernizes internal automated tests across multiple Odoo Enterprise apps by replacing older jQuery-based text checks with native browser checks. It helps make tests more reliable and prevents rare infinite-loop situations during test execution, with no direct change to end-user features.
Original PR description
* = approvals, crm_enterprise, documents_spreadsheet, test_mail_enterprise, timesheet_grid, website_helpdesk_livechat The choice was made to have "trimmed text" check rather than "contains" to have more robust tests, at the cost of slightly more effort to write complete and unique asserts. There is no direct speed improvement from this one, but it is one step closer to removing jQuery. Moreover, it will fix infinite loops in some situations, because jQuery selectors would write attributes on the body, which would trigger the mutation observer, which itself will call the selector again. https://github.com/odoo/odoo/pull/133717
This update removes outdated compatibility code across Manufacturing Planning, Barcode, Enterprise web navigation, Studio, and Worksheet areas. It helps keep the platform easier to maintain and better aligned with the current interface framework, with no intended change to day-to-day business workflows.
Original PR description
*: mrp_mps, stock_barcode, web_enterprise, web_studio, worksheet Part of task-id 3439226