Sale Order Line Packaging Quantity
This module adds a "Package quantity" field on sale order line in order to define a quantity according to the selected "Package".
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Adds a "Package quantity" field on sale order lines so users can order products by packaging (e.g. boxes, pallets) instead of individual units. The ordered quantity is automatically recalculated from the number of packages.
This module extends sale order lines with a new "Package quantity" field, visible only to users who have the packaging feature enabled. It appears on the sale order form and in the order lines list, right next to the packaging selector.
- When a user picks a packaging on a line, the module automatically sets the package quantity to 1 and adjusts the ordered quantity to match one package. If the current ordered quantity is already an exact multiple of the package size, it keeps that quantity and shows the matching number of packages.
- Changing the package quantity recalculates the ordered quantity and unit of measure from the package size.
- The package quantity is computed automatically from the ordered quantity and the package size; if the ordered quantity is not an exact multiple of the package, the package quantity is shown as zero.
- Business rules: a package must be selected before entering a package quantity, and the package must have a quantity greater than zero; otherwise Odoo blocks the action with an error message.
- The packaging field becomes mandatory on the line as soon as a package quantity is entered.
The module touches sale.order.line and the sale order form view inherited from the sale stock module. It does not add menus, reports or scheduled jobs.
Depends on
Required by other modules
Models and fields (1)
- sale.order.line · extends an existing modelproduct_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: 2 confirmed, 7 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.