Thursday, July 24, 2025
4 changes · saas-18.4
Enhancements to existing features
Website search now avoids an unnecessary database count when the number of results is already known. This reduces extra processing and can make website, blog, and forum search pages respond more efficiently without changing what users see.
Original PR description
Issue ----- Currently, we call `model.search()` and `model.search_count()` back-to-back, the second of which is unnecessary if there is no limit on the query. Solution ----- If we have no limit, directly take the length of the previously returned results to avoid an extra query. opw-4882609 Forward-Port-Of: odoo/odoo#220014 Forward-Port-Of: odoo/odoo#218252
The Point of Sale app now has better internal testing tools, making it easier to validate store services, models, and individual screen components before release. This helps improve reliability for future PoS updates, with a small related asset fix in the HTML editor.
Original PR description
Improved test hoots in PoS to test model and service functions. It is now possible to access the `pos_store` via `getService(“pos”)`. This will automatically load mocked data and information on the various models. Components can also be mounted independently of the rest of the application, so that their functions can be tested. For the moment, only `point_of_sale` models are loaded, but the implementation is designed to be patched from other PoS modules. --- A missing asset has been added to the html_editor module. Forward-Port-Of: odoo/odoo#218854
This update adds newly recognized Peppol participant identifier codes used for electronic invoicing, especially for France, the United Arab Emirates, and Latvia. It helps businesses using Odoo stay aligned with the latest Peppol requirements and improves compatibility when exchanging invoices electronically.
Original PR description
Add new relevant codes from the Peppol code list. In particular new codes for FR, AE and LV. Source: https://docs.peppol.eu/edelivery/codelists/v9.2/Peppol%20Code%20Lists%20-%20Participant%20identifier%20schemes%20v9.2.json opw-4932979 Forward-Port-Of: odoo/odoo#219969 Forward-Port-Of: odoo/odoo#218419
This update improves internal testing tools for Point of Sale-related modules, making it easier to validate store data, services, and individual interface components. It helps development teams catch issues earlier across appointment, restaurant, IoT, payment, and delivery integrations without changing day-to-day user workflows.
Original PR description
Improved test hoots in PoS to test model and service functions. It is now possible to access the `pos_store` via `getService(“pos”)`. This will automatically load mocked data and information on the various models. Components can also be mounted independently of the rest of the application, so that their functions can be tested. For the moment, only `point_of_sale` models are loaded, but the implementation is designed to be patched from other PoS modules. Forward-Port-Of: odoo/enterprise#90234