Sale Order Qty change no recompute
sale_order_qty_change_no_recompute · OCA/sale-workflow
Merged into sale in 18.0
-
Security25/25No findings
-
Activity25/25Last human commit 4 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 7 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Description
A lot of businesses don't set different prices according to the quantity of the product to sell, and they find it very annoying to set a manual discount after the negotiation with the customer, only to see it changed when they vary the demanded quantity.
Since Odoo 18.0, the unit price is natively protected from recomputation when
modified manually (via the technical_price_unit field). However, the
discount and pricelist_item_id fields are still recomputed when the
quantity or unit of measure changes.
This module prevents this by avoiding the recomputation of the discount and pricelist item fields if only the quantity or unit of measure has been changed in the sales order line.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 0
No models found for this module.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…