Friday, December 26, 2025
4 changes · 18.0
Resolved issues and error corrections
This update fixes an issue where the cart didn't accurately reflect quantity changes made within the Field Service module. The fix replaces a trigger mechanism that only updated quantities after losing focus, ensuring the correct quantity is displayed immediately after editing. This improves the user experience and prevents order discrepancies.
Original PR description
**Steps to produce:** - Install `industry_fsm_stock` with demo data. - Open any task in the field service module. - Click on the Products icon on top > Click on `Customizable Desk`. - Change the quantity to 100 and directly go back. **Issue:** - The cart shows the product with quantity = 1 instead of the edited value. **Root cause:** - The template used `t-on-change`, which only triggers when the HTML input loses focus or changes via another interaction. - In this case, clicking "Checkout" directly does not trigger the onchange event, so the updated quantity is ignored. **Solution:** - Replace `t-on-change` with `t-on-input` so that the quantity is updated immediately when the user edits the field. - This ensures the correct quantity is reflected in the cart even if the user proceeds directly to checkout. opw-5435672 ---
This update enhances security by ensuring that the process of checking employee addresses during batch payments is accessible to all users, regardless of their HR group affiliation. Previously, restricted access limited functionality. This change adds sudo access to a specific function to ensure broader access without compromising data security.
Original PR description
In commit a6ed1bd, new logic for handling employee addresses was introduced. However, the _get_all_addr function requires employee_ids, which implicitly requires access to the Employees model and, therefore, be in HR groups. During the compute process, _get_all_addr is only used to check whether an employee has an address; no address data is exposed. To fix this issue, the call to _get_all_addr should be executed with sudo(). OPW-5428523 Forward-Port-Of: odoo/enterprise#102851
This update corrects a bug in the account_edi_ubl_cii module's test invoices. The missing invoice date previously caused incorrect tax calculations. Adding the date ensures accurate tax application during testing, preventing potential issues with fiscal positions.
Original PR description
When merging odoo/odoo#236692, the invoice date was missing on the test invoices. This could lead to issues when there's no qualifying fiscal position. Adding it removes the need to recompute the fiscal position ensuring the correct taxes are applied for the relevant test case. No task ID
This update fixes an issue where search suggestions were hidden behind product categories when using the grid layout in the website builder. The fix ensures that search suggestions are always visible, improving the user experience when searching for products within grid-based layouts. This resolves a visual inconsistency and ensures proper functionality.
Original PR description
Steps to reproduce: =================== - Add a product categories block with a search bar in the inner content of the block, like "s_product_list". - Drag a "Search" snippet inside of the block in…
Steps to reproduce: =================== - Add a product categories block with a search bar in the inner content of the block, like "s_product_list". - Drag a "Search" snippet inside of the block in top of products categories - Change the layout to "Grid" & Save. - Type in the search bar to trigger autocomplete suggestions. -> The suggestions appear behind the product categories and are not visible. Cause: ====== When a searchbar snippet is placed inside a section using grid mode, the autocomplete dropdown was hidden behind sibling grid items. This occurred because the grid layout applies inline z-index to each column (via `_placeColumns` `in grid_layout_utils.js` (See [1])), creating stacking contexts that trapped the dropdown. So once you change to grid mode layout `_toggleGridMode` function will be triggered which will call `_placeColumns` that will assign z-index; (See [2]) Solution: ========= Override the inline z-index on grid items containing a searchbar [1]: https://github.com/odoo/odoo/blob/d4411c27b469e5dcc526b5b1f8ea4498f2b08567/addons/web_editor/static/src/js/common/grid_layout_utils.js#L225 [2]: https://github.com/odoo/odoo/blob/d4411c27b469e5dcc526b5b1f8ea4498f2b08567/addons/web_editor/static/src/js/common/grid_layout_utils.js#L138 opw-5392011 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr