Daily updates from Odoo
Tuesday, June 3, 2025
3 changes · master
Enhancements to existing features
Production analysis now keeps the cost of consumable components at the time they are used, even if product costs change later. This makes manufacturing cost reports more reliable by using the right cost source for both storable and consumable components.
Original PR description
The consumable product no longer create stock valuation layer when moved. Instead, their value are taken from the product cost. To make sure the cost value at the move validation is kept when changing the cost, it is saved in the stock move `price_unit` field. The Production Analysis report should be adapted to read the component cost on stock valuation layer (for storable components) and on stock moves (for consu components) Task: 4189728
Resolved issues and error corrections
Belgian point-of-sale setups using a blackbox no longer trigger errors when opening a restaurant configuration. This improves reliability for affected restaurants by preventing startup interruptions related to navigation and clocking notifications.
Original PR description
This commit fixes two traceback that happen when someone opens a pos config with a belgian blackbox configured. The first traceback happens because of the call of navigate throught this.pos while the call is made inside of pos_store. The other traceback is cause by the _notify "CLOCKING" where the "_" fields are not sent.
The rental search page now sends selected product attributes using the expected filter name, so shoppers see results that match their chosen options. This fixes a mismatch that previously caused rental search filters to be ignored, improving the browsing experience.
Original PR description
When selecting an attribute value in the Rental Search snippet, the generated URL incorrectly uses the `attrib` parameter. However, the `/shop` route expects the parameter to be named `attribute_values`. As a result, the filter is not applied, and the search results are not correctly filtered. This fix ensures consistency between the snippet and the `/shop` route by replacing `attrib` with `attribute_values`, so the attribute filter works as expected. The change improves the user experience by ensuring that search filters behave consistently across the website. Steps to reproduce: - Add the "Rental Search" snippet to a website page. - Configure it by selecting an attribute value. - Observe the resulting URL using `attrib`, which fails to filter results on the `/shop` page.