Monday, May 5, 2025
3 changes · saas-18.1
Resolved issues and error corrections
Spreadsheet charts now reload their underlying data when the related model or filter domain changes, even for chart types beyond the standard Odoo pie, line, and bar charts. This helps users see up-to-date chart information without needing manual refreshes or workarounds.
Original PR description
The data source of charts weren't reloaded on model update if the chart wasn't strictly an odoo_pie/line/bar. Task: [4759433](https://www.odoo.com/web#id=4759433&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form) 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
Deliveries now reserve only complete product packages when a product category requires full-package reservations. This prevents over-reserving partial quantities, keeping stock availability and delivery preparation aligned with packaging rules.
Original PR description
Issue ----- Deliveries reserve up to the on hand quantity of products, even when the product is in a category for which only full packages should be reserved. Steps to reproduce ----- - Install…
Issue ----- Deliveries reserve up to the on hand quantity of products, even when the product is in a category for which only full packages should be reserved. Steps to reproduce ----- - Install Inventory, Sales apps - Enable packages in the settings - Create a Product Category - Reserve Only Full Packagings - Create a product - Tracked by quantity - In the Sales tab, add the "Pack of 6" packaging - Update the on hand quantity to 10 - Create a new Sale Order for 2 packs of 6 of the product & confirm it - Open the linked Delivery - Open the linked Delivery -> The reserved quantity is 10 instead of 6 Cause ----- Packagings have been removed in 18.1, we now only use UoMs. When cleaning up for the change, the specific use case with the "Reserve Only Full Packagings" field in product.category has been overlooked and the condition handling it in stock.quant's `_get_reserve_quantity` method was removed because it relied on packagings. We cannot rely on the packaging's `_check_qty` method to compute the quantity, but since the packaging uom is now a field of the move, we can just use it instead of the default product uom when calling `_get_reserve_quantity`. We can then just apply flooring to the packaging uom when needed. ----- Ticket: opw-4595779
Website visitors can now submit helpdesk tickets without being signed in, even when the help form has been customized. The update prevents a submission error by only creating a customer contact when a name is actually provided.
Original PR description
Currently, an error occurs when a user tries to submit the help form on the website without being logged in. **Steps to produce:** - Install the `website_helpdesk` module. - Modify the **Help Form** by changing the field type of **Full Name** to "Text". - Fill up the **Help Form** without login. - Observe the error. `ValueError - Expected singleton: res.users()` Here, the system attempts to create a partner without ensuring that required fields like `partner_name` are present, which could lead to other issues. This commit ensures the partner is created only if `partner_name` is provided. Sentry - 6547575458