Monday, December 22, 2025
3 changes · 19.0
Enhancements to existing features
This update improves internal website builder testing by avoiding repeated parsing of the same large snippet data. It helps speed up automated test execution, supporting faster validation and development cycles without changing user-facing behavior.
Original PR description
__Behavior before commit:__ - [`SnippetModel`] loads all snippets and parse them for every test that uses a snippet. - `getStructureSnippet` parse them as well This parsing may take around 80 ms for each test because it is 1MB long. __Fix:__ `DOMParser.parseFromString` is patched to cache its result when it's the snippet document. This significantly reduce the duration of the website builder test suite. [`SnippetModel`]: https://github.com/odoo/odoo/blob/4de72eeca8b8f9251ea18cd48330fc1c48bce1bd/addons/html_builder/static/src/snippets/snippet_service.js#L138 task-5269391 Forward-Port-Of: odoo/odoo#240365
The point of sale order list no longer shows an invoice status badge when an order is marked "to invoice." This reduces confusion for users by avoiding the impression that they must manually create an invoice when no action is needed from the list view.
Original PR description
In this commit: - Hide the invoice status badge when the status is "to invoice" in order list. - Prevent confusion by ensuring users don’t assume an invoice needs to be generated. Task-5347495
The Mexico localization demo company name was updated so demo data can be used to validate CFDI documents and XML files. This helps ensure Mexican electronic invoicing examples work correctly in testing and demonstrations.
Original PR description
Update the demo company name so we can validate CFDI's and XML target: 19.0 task-5239031 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr