Stock Quant Package Product Packaging

stock_quant_package_product_packaging
REPOSITORY
REPOSITORYOCA/stock-logistics-tracking
GIT
GIThttps://github.com/OCA/stock-logistics-tracking.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-tracking/tree/18.0/stock_quant_package_product_packaging
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, BCIM
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, BCIM
COMMITTERS
COMMITTERSJacques-Etienne Baudoux, Thierry Ducrest, Weblate, OCA-git-bot, Simone Orsi, oca-ci, arantxa-s73
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-tracking
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
stock_quant_package_tree_view stock.quant.package.tree.package.reusable stock.quant.package field Inherits stock.view_quant_package_tree
view_quant_package_form_inherit stock.quant.package.form.inherit stock.quant.package field Inherits stock.view_quant_package_form
Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • package_type_id Many2one → stock.package.type
    help="Defines a 'default' package type for this product to be applied on packages without product packagings and on put-away computation based on package type for product not in a package" string='Package type' args: 'stock.package.type'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • move_quants(self, location_dest_id=False, package_dest_id=False, message=False, unpack=False)

New fields (4)
  • product_packaging_id Many2one → product.packaging
    help='Packaging of the product, used for internal logisticstransfers, put-away rules, ...' index=True args: 'product.packaging', 'Product Packaging'
  • reset_package_type Boolean
    default=True help='When set the package type will be reset on unpacking'
  • single_product_id Many2one → product.product
    compute='_compute_single_product' args: 'product.product'
  • single_product_qty Float
    compute='_compute_single_product'
Public methods (3)
  • auto_assign_packaging(self)
  • create(self, vals)
    @api.model_create_multi
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_quant_package_product_packaging
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, ferran-S73
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_quant_package_form_inherit stock.quant.package.form.inherit stock.quant.package field Inherits stock.view_quant_package_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • product_packaging_id Many2one → product.packaging
    help='Packaging of the product, used for internal logisticstransfers, put-away rules, ...' index=True args: 'product.packaging', 'Product Packaging'
  • single_product_id Many2one → product.product
    compute='_compute_single_product' args: 'product.product'
  • single_product_qty Float
    compute='_compute_single_product'
Public methods (1)
  • auto_assign_packaging(self)
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_quant_package_product_packaging
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSDenis Roussel, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:51
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_quant_package_form_inherit stock.quant.package.form.inherit stock.quant.package field Inherits stock.view_quant_package_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • product_packaging_id Many2one → product.packaging
    help='Packaging of the product, used for internal logisticstransfers, put-away rules, ...' index=True args: 'product.packaging', 'Product Packaging'
  • single_product_id Many2one → product.product
    compute='_compute_single_product' args: 'product.product'
  • single_product_qty Float
    compute='_compute_single_product'
Public methods (1)
  • auto_assign_packaging(self)
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/14.0/stock_quant_package_product_packaging
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, Simone Orsi, hparfr
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_quant_package_form_inherit stock.quant.package.form.inherit stock.quant.package field Inherits stock.view_quant_package_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • product_packaging_id Many2one → product.packaging
    help='Packaging of the product, used for internal logisticstransfers, put-away rules, ...' index=True args: 'product.packaging', 'Product Packaging'
  • single_product_id Many2one → product.product
    compute='_compute_single_product' args: 'product.product'
  • single_product_qty Float
    compute='_compute_single_product'
Public methods (1)
  • auto_assign_packaging(self)
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/13.0/stock_quant_package_product_packaging
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSGuewen Baconnier, Akim Juillerat, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_quant_package_form_inherit stock.quant.package.form.inherit stock.quant.package field Inherits stock.view_quant_package_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • product_packaging_id Many2one → product.packaging
    help='Packaging of the product, used for internal logisticstransfers, put-away rules, ...' index=True args: 'product.packaging', 'Product Packaging'
  • single_product_id Many2one → product.product
    compute='_compute_single_product' args: 'product.product'
  • single_product_qty Float
    compute='_compute_single_product'
Public methods (1)
  • auto_assign_packaging(self)
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/10.0/stock_quant_package_product_packaging
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSLaurent Mignon (ACSONE), nans, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - procurement
    - barcodes
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_quant_package_form_inherit stock.quant.package.form.inherit stock.quant.package field Inherits stock.view_quant_package_form
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • action_done(self)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • auto_assign_packaging(self)

New fields (3)
  • product_packaging_id Many2one → product.packaging
    help='Packaging of the product, used for internal logisticstransfers, put-away rules, ...' index=True args: 'product.packaging', 'Product Packaging'
  • single_product_id Many2one → product.product
    compute='_compute_single_product' args: 'product.product'
  • single_product_qty Float
    compute='_compute_single_product'
Public methods (1)
  • auto_assign_packaging(self)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/stock-logistics-tracking
PULL REQUEST
PULL REQUEST[19.0][ADD] stock_package_product_packaging (Renamed from stock_quant_package_product_packaging) (#59)