Purchase Order Qty change no recompute
This module prevents to recompute if only quantity has changed in purchase order line.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Stops Odoo from recalculating purchase order line details (like description, planned date, unit price and discount) when only the ordered quantity or unit of measure is changed.
This module changes how Odoo reacts when you edit a purchase order line. Normally, changing the quantity or the unit of measure on a line can trigger Odoo to recompute other fields such as the line description, the planned date, the unit price and the discount.
With this module installed, those other fields are no longer recalculated just because the quantity or unit of measure changed. The link to the product is still used so that the first calculation happens correctly when you pick a product.
- Applies to purchase order lines (
purchase.order.line). - Affects the fields
name,date_planned,price_unitanddiscount. - Removes
product_qtyandproduct_uomfrom the triggers that cause those fields to be recomputed. - Keeps
product_idas a trigger so the initial values are still filled in.
There are no new menus, buttons, reports or settings. The change is automatic and only affects the internal recalculation behaviour of purchase order lines. It is useful when you want to adjust quantities without losing manually entered descriptions, prices or dates.
Depends on
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 6 confirmed, 3 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/purchase-workflow.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0To use this module, you need to:
- Create a new purchase order.
- Add product line and set custom unit price.
- Save purchase order.
- Edit purchase order and change quantity (custom unit price not been reset).
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.