Daily updates from Odoo
Friday, July 4, 2025
6 changes · saas-18.4
Enhancements to existing features
This update makes the website shop add-to-cart testing flow more reliable by handling more menu layouts and waiting properly for quantity changes. It helps reduce false test failures and supports smoother validation of online store editing features.
Original PR description
Before this commit: changeOptionInPopover was failed in some cases where dropdown-item element is not div, current selector in changeOptionInPopover was not able to select element. resetDefaultAction in AddToCartOptionPlugin plugin was not shared and we were calling this method from other plugins. addToCart builder actions was not fetched with right name, builder actions are using id of the action class to fetch that specific action. This commit solves all above issues. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds a shared foundation for automated startup and data model tests across Point of Sale and related payment, restaurant, loyalty, HR, event, sales, and self-ordering components. It helps validate that PoS data structures and services load correctly, reducing the risk of future changes causing regressions.
Original PR description
*: point_of_sale, pos_account_tax_python, pos_adyen, pos_event, pos_hr, pos_loyalty, pos_pine_labs, pos_razorpay, pos_restaurant, pos_restaurant_adyen, pos_sale, pos_self_order, pos_stripe, pos_viva_com Add a base for running boot tests in PoS. All models available in the PoS have been added via the `models.ServerModel` tool so that they are available in the `MockServer` In this way, we can simulate the generation of the model definitions required for the related model, JS classes and data service. We can now instantiate the related models and call all the methods specific to each model. Forward-Port-Of: odoo/odoo#216514
This update improves how stock replenishment needs are calculated by processing orderpoint quantities in batches. It also corrects a purchasing-related issue so purchase orders are considered accurately without accidentally scanning unrelated records.
Original PR description
The method `orderpoint._compute_qty_order_computed` was batched in commit 17a2de9 then reverted in commit a58b995 because of a bug introduced when purchase_stock is installed. It should still be beneficial performance-wise to batch the calls to `orderpoint._quantity_in_progress` so this commit reintroduces the batching. The part that led to the issue was the override of `_quantity_in_progress` in the purchase_stock module. In this commit we fix the `_quantity_in_progress` method. Thanks to that, the test introduced in 606dc71 is passing even with the batched version of `_compute_qty_to_order_computed`. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#213154
This update makes automated user journey tests more explicit when an action navigates away from the current page. It helps reduce false failures in testing across checkout, events, live chat, courses, portal security, and point of sale flows, improving release confidence without changing customer-facing behavior.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#217204 Forward-Port-Of: odoo/odoo#216007
This update adds automated test foundations for several Point of Sale add-ons, making it easier to verify that their screens and data models start correctly. It helps reduce regression risk in appointment, restaurant, IoT, payment, and delivery integrations without changing day-to-day user workflows.
Original PR description
*: pos_appointment, pos_iot, pos_restaurant_appointment, pos_tyro, pos_urban_piper, pos_urban_piper_enhancements Add a base for running boot tests in PoS. All models available in the PoS have been added via the `models.ServerModel` tool so that they are available in the `MockServer` In this way, we can simulate the generation of the model definitions required for the related model, JS classes and data service. We can now instantiate the related models and call all the methods specific to each model. Forward-Port-Of: odoo/enterprise#88898
This update makes automated website sales and rental test journeys clearer about when a page reload is expected. It helps reduce false test failures and improves confidence in future releases without changing the customer-facing experience.
Original PR description
In this commit, we add expectUnloadPage to steps that require it to explicitly declare that the step will cause the page to be unloaded. Forward-Port-Of: odoo/enterprise#89322 Forward-Port-Of: odoo/enterprise#88602