Daily updates from Odoo
Saturday, February 24, 2024
2 changes · saas-17.1
Enhancements to existing features
This update clarifies the l10n_pe module's purpose and functionality by removing outdated, unresolved tasks from the module's documentation. This ensures users have a clear understanding of the module's capabilities and benefits.
Original PR description
At present, the manifest for the base module in Peru contains two pending tasks that need further clarification. These to-dos have remained unresolved since the module's inception four years ago. However, with this recent commit, we have provided a clearer explanation of what the module offers and have addressed and resolved the pending to-dos. Task id=3337432 Forward-Port-Of: odoo/odoo#129186
Resolved issues and error corrections
This update fixes an issue where reducing the quantity of a sales order would incorrectly create a return instead of adjusting stock levels. The fix ensures stock moves are merged correctly, regardless of their procurement method, leading to more accurate inventory tracking and order fulfillment. This improves the reliability of our stock management system.
Original PR description
Steps to reproduce:
- In User settings add 'allocation reports' group to the admin User
- In Inventory settings enable allocation reports
- Create a stored product with 0/0 reordering rules and set a vendor
- Create an SO for that product
- Confirm the generated PO and click assign all on its receipt's allocation report
- Reduce the quantity on the SO and save
Bug:
a return is created instead of adjusting the quantity to deliver the stock moves were not merged because their procurement method do not match ('make_to_stock' / 'make_to_order')
Fix:
ignore procurement method when merging the moves
opw-3621316
Forward-Port-Of: odoo/odoo#154773
Forward-Port-Of: odoo/odoo#153439