Product Dimension
product_dimension · OCA/product-attribute
Health
85/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 10 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 12 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.08 MB
Module directory on disk
Code analysis
0 migration notes
2 models
2 views
0 HTTP endpoints
Description
This module extends the functionality of product to support dimensions (length, width and height). Also computes the volume automatically when you change one of these dimensions.
This module was previously hosted on https://github.com/ingadhoc/odoo-addons and before that on https://launchpad.net/~ingenieria-adhoc.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- stock_picking_volume
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_normal_form_view |
product_normal_form_view | product.product | form | Inherits product.product_normal_form_view |
product_template_only_form_view |
product_template_form_view | product.template | form | Inherits product.product_template_only_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (5)
-
dimensional_uom_idMany2one → uom.uomhelp='UoM for length, height, width' args: 'uom.uom', 'Dimensional UoM' -
product_heightFloatargs: 'height' -
product_lengthFloatargs: 'length' -
product_widthFloatargs: 'width' -
volumeFloatcompute='_compute_volume'readonly=Falsestore=True
No public methods.
New fields (5)
-
dimensional_uom_idMany2one → uom.uomcompute='_compute_dimensional_uom_id'default=<expr>help='UoM for length, height, width'inverse='_inverse_dimensional_uom_id'readonly=Falsestore=True args: 'uom.uom', 'Dimensional UoM' -
product_heightFloatreadonly=Falserelated='product_variant_ids.product_height' -
product_lengthFloatreadonly=Falserelated='product_variant_ids.product_length' -
product_widthFloatreadonly=Falserelated='product_variant_ids.product_width' -
volumeFloatcompute='_compute_volume'readonly=Falsestore=True
-
convert_to_meters(self, measure, dimensional_uom)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…