Purchase - Total Ordered Qty
This module is used to display the total ordered quantity in a PO.
auto_awesome What this module does
AI-generated from the code · Odoo 15.0Adds a 'Total Quantity' block to the purchase order form that shows the total ordered quantity, grouped by unit of measure and converted to each unit's reference unit.
This module extends the purchase order screen so buyers can see, at a glance, how much has been ordered in total, even when the order lines use different units of measure.
On the purchase order form, right below the order lines, a new 'Total Quantity' section appears. It lists one line per unit of measure, showing the quantity converted into that unit's reference unit, sorted by unit name. The section stays hidden while the order has no lines.
The totals are recalculated automatically whenever the ordered quantities or the units of measure on the order lines change. Quantities are first converted into the reference unit of their unit-of-measure category, then summed per unit, so lines using different units of the same category are combined correctly. The displayed text is translated according to the language of the user viewing the order.
The module only touches the purchase order model (purchase.order) and its form view; it does not change prices, taxes, stock, or any other document. No new menus, buttons, reports, or scheduled actions are added.
Depends on
Models and fields (1)
- purchase.order · extends an existing modeltotal_ordered_qty_json (Total Quantity Json), total_ordered_qty_text (Total Quantity Text)
Text generated by AI (DeepSeek) from reading the Odoo 15.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 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/purchase-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.