Sale Order Line Initial Quantity
This module allows to display the initial quantity when the quantity has been modified on the command line.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Shows the original ordered quantity on each sale order line once the order is confirmed, so you can compare it with the current quantity and see what was changed.
This module keeps a memory of the quantity that was originally ordered on each sale order line. When a sales order is confirmed, the quantity present at that moment is saved as the "Initial quantity" on every line.
On the sale order form, a new read-only column called "Initial quantity" appears in the order lines list. It is only shown when at least one line's current quantity differs from its saved initial quantity and the order is in a confirmed or done state; otherwise the column stays hidden to keep the screen clean.
A hidden indicator field on the order, "Initial Quantity Changed", is computed automatically. It becomes true when the order is confirmed or done and any line has a quantity different from its initial quantity. This is what controls the visibility of the column.
- The module extends
sale.orderandsale.order.line. - It adds the stored field
product_uom_initial_qtyon order lines and the computed fieldinitial_qty_changedon orders. - It overrides the order confirmation action to record the initial quantities.
- It modifies the standard sale order form view to add the new column.
No new menus or reports are added; everything happens inside the existing Sales order screen.
Depends on
Models and fields (2)
- sale.order · extends an existing modelinitial_qty_changed (Initial Quantity Changed)
- sale.order.line · extends an existing modelproduct_uom_initial_qty (Initial quantity)
Text generated by AI (DeepSeek) from reading the Odoo 14.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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/sale-workflow.
terminal Installation and usage
No verified informationInstallation 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.