Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
1.0.0
Category
Product
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-attribute
Last tracking update
2026-08-07 09:06:25
Authors
Odoo Community Association (OCA), ADHOC SA, Camptocamp SA, brain-tec AG
Maintainers
Odoo Community Association (OCA), ADHOC SA, Camptocamp SA, brain-tec AG
Committers
Weblate, OCA-git-bot, oca-ci, Hieu.VMB
Odoo dependencies
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
stock_picking_volume
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>.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
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_id Many2one → uom.uom
    help='UoM for length, height, width' args: 'uom.uom', 'Dimensional UoM'
  • product_height Float
    args: 'height'
  • product_length Float
    args: 'length'
  • product_width Float
    args: 'width'
  • volume Float
    compute='_compute_volume' readonly=False store=True
Public methods (0)

No public methods.

New fields (5)
  • dimensional_uom_id Many2one → uom.uom
    compute='_compute_dimensional_uom_id' default=<expr> help='UoM for length, height, width' inverse='_inverse_dimensional_uom_id' readonly=False store=True args: 'uom.uom', 'Dimensional UoM'
  • product_height Float
    readonly=False related='product_variant_ids.product_height'
  • product_length Float
    readonly=False related='product_variant_ids.product_length'
  • product_width Float
    readonly=False related='product_variant_ids.product_width'
  • volume Float
    compute='_compute_volume' readonly=False store=True
Public methods (1)
  • convert_to_meters(self, measure, dimensional_uom)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…