Sunday, December 28, 2025
3 changes · saas-18.4
New functionality added to Odoo
This update enhances the testing process for the POS Restaurant module's preparation display functionality. By adding comprehensive HOOT tests and a dedicated test environment, the team ensures the display works correctly and reliably, contributing to a more stable and user-friendly experience for restaurant operators.
Original PR description
In this commit: --- - Added HOOT test coverage for the POS Restaurant module's preparation display. - Introduced `setupPosPrepDisplayEnv` to mock and initialize the preparation display test environment. - Added test coverage for core components, models, and service logic. - Adjust hoot case for pos_urban_piper. task-5225193 Related PR: - https://github.com/odoo/odoo/pull/234474 Forward-Port-Of: odoo/enterprise#98849
Enhancements to existing features
This update enhances the synchronization of product data within the Point of Sale module. Specifically, it now uses unique record identifiers (UUIDs) for more accurate matching and improves test data setup by adding category information. This ensures data consistency and reliability for Point of Sale operations.
Original PR description
In this commit: --- - Improved `sync_from_ui` function to support record UUID-based relational mapping. - Added `pos_categ_ids` field in product data for better category linkage in tests. task-5225193 Related PR: - https://github.com/odoo/enterprise/pull/98849 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#234474
Resolved issues and error corrections
This update fixes a vulnerability in the Point of Sale testing process. Previously, tests relied on translated button labels, making them susceptible to issues when translations changed. The fix ensures tests use the default language's decimal separator, improving test stability and reducing the risk of failures.
Original PR description
In the tour added in this commit[^1], they switched the language to French to test `,` as a decimal separator. The test depends on a button label to click that was translated to French. This is pretty brittle since translations can change, and also not necessary for what we need to test. We just change the decimal separator on the current language in the test so the label can keep the source language. This is also done in other places in the tours. (Issue found when translating saas-19.1) [^1]: https://github.com/odoo/odoo/commit/c712835cf7fc364a50ad9797f933df148720e829 Forward-Port-Of: odoo/odoo#241485