Skip to content
Health
93/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by25/25
    8 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 16.0

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

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

Description

This module binds a product packaging to a packaging level.

There are usually 3 levels:

  • The primary: it is the closest to the product, also called the retail packaging
  • The secondary: it allows to ship the products already in the primary packaging, like a box
  • The tertiary: it allows to ship large quantities in warehousing, like a pallet

This differentiates from the odoo standard package type that is typing the packaging in a more precise way and that can serve for put-away routing in the warehouse.

For example a small box and a large box, or an EPAL pallet and CHEP pallet.

Dependencies

Code analysis

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

Views touched 6

XML IDNameModelTypeStatus
product_packaging_tree_view product.packaging.tree (in product_packaging_level) product.packaging tree Inherits stock.product_packaging_tree_view
stock_package_type_form stock.package.type.form stock.package.type form Inherits stock.stock_package_type_form
view_product_packaging_add_type_form product.packaging.form product.packaging form Inherits stock.product_packaging_form_view
view_product_packaging_level_form product.packaging.level.form product.packaging.level form New
view_product_packaging_level_list product.packaging.level.list product.packaging.level list New
view_product_packaging_level_search product.packaging.level.search product.packaging.level search New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (6)
  • barcode_required_for_gtin Boolean
    compute='_compute_barcode_required_for_gtin' readonly=True
  • name Char
    compute='_compute_name' readonly=False store=True
  • name_policy Selection
    related='packaging_level_id.name_policy'
  • packaging_level_id Many2one → product.packaging.level
    default=<expr> ondelete='restrict' required=True args: 'product.packaging.level'
  • qty_per_level Char
    compute='_compute_qty_per_level' string='Qty per package level'
  • sequence Integer
    compute='_compute_sequence' readonly=False store=True
Public methods (1)
  • default_packaging_level_id(self)

New fields (8)
  • active Boolean
    default=True
  • code Char
    required=True
  • default_lang_id Many2one → res.lang
    default=<expr> required=True string='Default Language' args: 'res.lang'
  • has_gtin Boolean
  • is_default Boolean
  • name Char
    required=True translate=True
  • name_policy Selection
    default='by_package_level' help="config to set name of product packaging. Three options:- The package level name (default)- The package type name (if groups='stock.group_tracking_lot')- user defined: free text value defined" selection=[('by_package_level', 'Package Level Name'), ('by_package_type', 'Package Type Name'), ('user_defined', 'User Defined')]
  • sequence Integer
    required=True
Public methods (0)

No public methods.

New fields (1)
  • packaging_level_id Many2one → product.packaging.level
    default=<expr> args: 'product.packaging.level'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…