Purchase Order Line Packaging Quantity
This module adds a "Package quantity" field on purchase order line in order to define a quantity according to the selected "Package".
Inspired from sale_order_line_packaging_qty module.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Adds a Package and Package quantity field to purchase order lines, so buyers can order products by packaging (e.g. boxes, pallets) instead of individual units.
This module extends purchase order lines with two new fields: product_packaging (Package) and product_packaging_qty (Package quantity). Both fields are only visible to users who have the product packaging setting enabled.
On a purchase order line, once a product is chosen, the user can select a package. Selecting a package automatically sets the package quantity to 1 and recalculates the ordered quantity to match the package size. Changing the package quantity recalculates the total ordered quantity, and changing the ordered quantity recalculates the package quantity.
Business rules are enforced: - If the ordered quantity is not a multiple of the package size, a warning message appears suggesting the nearest valid quantity. - You cannot set a package quantity without first selecting a package. - You cannot select a package whose quantity is zero.
When purchase order lines are generated automatically from procurement (for example from a sales order or stock reordering), the package from the originating document is carried over to the purchase order line.
The fields appear in both the purchase order form and the order lines list, placed just before the ordered quantity column.
Depends on
Models and fields (1)
- purchase.order.line · extends an existing modelproduct_packaging (Package), product_packaging_qty (Package 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: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.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.