Product Packaging Dimension
product_packaging_dimension · OCA/product-attribute
Health
76/100
good
-
Security25/25No findings
-
Activity6/25Last human commit 25 months ago
-
Required by20/254 modules depend on it
-
Maturity25/25In 6 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
4
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.07 MB
Module directory on disk
Code analysis
1 migration note
1 model
1 view
0 HTTP endpoints
Migration considerations
ProductPackaging— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module allows to store dimensions (length, width, height), weight and volume of product packagings.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- product_total_weight_from_packaging, stock_measuring_device, stock_picking_volume_packaging, 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 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_packaging_form_view_inherit |
product.packaging.form.view.inherit | product.packaging | form | Inherits product.product_packaging_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (11)
-
heightInteger -
length_uom_idMany2one → uom.uomdefault=<expr>domain=<expr>help='UoM for packaging length, height, width (based on lenght UoM)' args: 'uom.uom', 'Dimensions Units of Measure' -
length_uom_nameCharrelated='length_uom_id.name'string='Length unit of measure label' -
packaging_lengthIntegerstring='Length' -
volumeFloatcompute='_compute_volume'digits=(8, 4)help='The Packaging volume' -
volume_uom_idMany2one → uom.uomdefault=<expr>domain=<expr>help='Packaging volume unit of measure'string='Volume Units of Measure' args: 'uom.uom' -
volume_uom_nameCharrelated='volume_uom_id.name'string='Volume Unit of Measure label' -
weightFloat -
weight_uom_idMany2one → uom.uomdefault=<expr>domain=<expr>help='Weight Unit of Measure'string='Weight Units of Measure' args: 'uom.uom' -
weight_uom_nameCharrelated='weight_uom_id.name'string='Weight unit of measure label' -
widthInteger
-
convert_to_meters(self, measure, length_uom_id) -
convert_to_volume_uom(self, measure, volume_uom_id)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…