Skip to content
Health
82/100
good
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 13 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity25/25
    In 6 Odoo series since 10.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
2
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 0 migration notes 5 models 2 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
shopfloor, stock_quant_package_dimension

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
stock_quant_package_tree_view stock.quant.package.tree.package.reusable stock.quant.package tree Inherits stock.view_quant_package_tree
view_quant_package_form_inherit stock.quant.package.form.inherit stock.quant.package form Inherits stock.view_quant_package_form

HTTP endpoints 0

No HTTP endpoints found for this module.

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)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…