OdooWiki OCA HUB

Purchase Packaging

purchase_packaging folder_open OCA/purchase-workflow open_in_new
Warehouse License: AGPL-3
  • Use packaging in supplierinfo
  • Use uom set in the packaging instead of purchase uom for purchase
  • Add minimum quantity measure unit in supplierinfo
  • On purchase order line compute the quantity with the quantity and unit of measure

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Buy products from suppliers using their own packaging and units of measure. On purchase orders you enter the supplier's quantity and unit, and Odoo converts it to your internal quantity.

This module lets you record, on each supplier price list line, the packaging (logistical unit) the supplier uses, the supplier's unit of measure and the minimum quantity unit of measure. On a purchase order line you can pick a packaging; the line then shows a 'Purchase quantity' and a 'Purchase Unit of Measure' that you fill in with the supplier's figures, while the standard 'Quantity' is computed automatically in your own unit of measure.

  • The supplier's unit of measure is taken from the packaging if one is set, otherwise from the product's purchase unit of measure.
  • When you choose a product, Odoo looks up the matching supplier and pre-fills the packaging, the purchase quantity and the purchase unit of measure, and restricts the choices to what that supplier offers.
  • If a packaging is selected, the line's unit of measure becomes read-only and follows the packaging.
  • Minimum quantities are respected: quantities coming from reordering rules are raised to the supplier's minimum when needed.
  • Reordering rules count draft, sent and to-approve purchase order lines as incoming quantity, so replenishment is not triggered twice.

These fields appear on the supplier price list form and list, and on purchase order lines in both the list and the detailed form. The module touches product.supplierinfo, purchase.order.line, stock.rule, stock.warehouse.orderpoint and uom.category.

Depends on

productpurchasepackaging_uomstockpurchase_stock
Models and fields (4)
  • stock.rule · extends an existing model
  • uom.category · extends an existing modeluom_ids, reference_uom_id
  • purchase.order.line · extends an existing modelproduct_qty (Quantity), packaging_id, product_qty_needed (Quantity Needed), product_purchase_qty (Purchase quantity), product_purchase_uom_id
  • product.supplierinfo · extends an existing modelproduct_uom (Supplier Unit of Measure), packaging_id, min_qty_uom_id

Text generated by AI (DeepSeek) from reading the Odoo 13.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/purchase-workflow.

terminal Installation and usage

OCA documentation · Odoo 13.0

To configure this module, you need to:

  • on product packaging define the unit of measure to use.
  • on supplier info define the packaging and minimum unit of measure quantity to use.
  • use product packaging in purchase order to use the link unit of measure

No verified information in OCA: Installation, Usage.

info

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.