Friday, July 26, 2024
2 changes · saas-17.4
Resolved issues and error corrections
This fix prevents an error when users create stock pickings with packages while only the Inventory app is installed. It ensures package weight information is available in the stock module, so warehouse operations can continue without requiring the Delivery module.
Original PR description
Usecase: - Install only stock - Create a picking with some packages It crashes since the shipping weight is zero then it fallback on weight but this field only exists in `stock_delivery` Share the compute code and we will move the field in master 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
Budget cell audits in the Profit and Loss report no longer fail with an error. This ensures users can review budget-related report details without interruptions.
Original PR description
Steps to reproduce: - Open the Profit & Loss report - Create a budget using the budget filter - Audit a cell of the report Issue: A traceback occurs, indicating a string or bytes-like object error. Cause: In the previous commit https://github.com/odoo/enterprise/commit/8f19af2335d4199a306d9db489cbac1db656a0cb, the markup of line IDs was modified to include dictionaries for groupby information. However, one 'groupby' was overlooked, causing a traceback due to the system expecting a string instead of a dictionary. Fix: This commit corrects the missing 'groupby' case to handle dictionaries properly,preventing the traceback. Additional Changes: Updated a related comment to reflect the new markup handling for consistency. task-3791247