OdooWiki OCA HUB

Stock Quant Package Product Packaging

stock_quant_package_product_packaging folder_open OCA/stock-logistics-tracking open_in_new
Warehouse Management License: AGPL-3

This module allows to define on a Product Package (stock.quant.package), a Packaging Type (product.packaging) that is linked to a product, if said package only contains Quants (stock.quants) from this product, and the sum of the quants quantities is equal to the Packaging quantity.

If such a packaging exists, it will be automatically assigned to a package after the move is set to done.

The module also computes the package type of the package when products are put in a package. The computation is done based on the number of products in the package.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Automatically links a product packaging to a package when it contains only one product and the quantity matches the packaging size, and sets the package type accordingly.

This module helps warehouse users keep packages and their packaging information consistent without manual data entry.

On a package (stock.quant.package) you get a new 'Product Packaging' field. It is filtered so you can only pick a packaging that belongs to the single product inside the package and whose quantity equals the total quantity in the package. Two hidden helper fields show which single product is inside and how much of it there is.

When a transfer line is completed, the system looks at the destination and source packages and tries to assign the best matching packaging automatically. If the package contains only one product and its quantity exactly matches a packaging size, that packaging is set. If the package no longer matches, the packaging is cleared.

A 'Reset package type' checkbox (on by default) controls whether the package type is cleared when the package becomes empty, for example after unpacking. Products also have a new 'Package type' field used as a default when no product packaging applies.

The new fields appear on the package form and list views. The module touches product templates, product variants, stock move lines, stock quants and packages.

Depends on

stock
Models and fields (4)
  • stock.quant · extends an existing model
  • stock.move.line · extends an existing model
  • product.template · extends an existing modelpackage_type_id (Package type)
  • stock.quant.package · extends an existing modelsingle_product_id, reset_package_type, single_product_qty, product_packaging_id

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 13.0

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

terminal Installation and usage

No verified information

Installation 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.

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.