Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
1.0.0
Category
Product
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-attribute
Last tracking update
2026-08-07 08:42:54
Authors
Camptocamp, Akretion, Odoo Community Association (OCA)
Maintainers
Camptocamp, Akretion, Odoo Community Association (OCA)
Committers
Weblate, OCA-git-bot, oca-ci, Lukas Tran
Odoo dependencies
OCA/product-attribute:
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
product_total_weight_from_packaging, stock_measuring_device, stock_picking_volume_packaging, stock_quant_package_dimension
Description
This module allows to store dimensions (length, width, height), weight
and volume of product packagings.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
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)
  • height Integer
  • length_uom_id Many2one → uom.uom
    default=<expr> domain=<expr> help='UoM for packaging length, height, width (based on lenght UoM)' args: 'uom.uom', 'Dimensions Units of Measure'
  • length_uom_name Char
    related='length_uom_id.name' string='Length unit of measure label'
  • packaging_length Integer
    string='Length'
  • volume Float
    compute='_compute_volume' digits=(8, 4) help='The Packaging volume'
  • volume_uom_id Many2one → uom.uom
    default=<expr> domain=<expr> help='Packaging volume unit of measure' string='Volume Units of Measure' args: 'uom.uom'
  • volume_uom_name Char
    related='volume_uom_id.name' string='Volume Unit of Measure label'
  • weight Float
  • weight_uom_id Many2one → uom.uom
    default=<expr> domain=<expr> help='Weight Unit of Measure' string='Weight Units of Measure' args: 'uom.uom'
  • weight_uom_name Char
    related='weight_uom_id.name' string='Weight unit of measure label'
  • width Integer
Public methods (2)
  • convert_to_meters(self, measure, length_uom_id)
  • convert_to_volume_uom(self, measure, volume_uom_id)

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
65 days ago
Last activity
16 days ago
Repository
OCA/product-attribute
Pull request
[19.0][MIG] product_packaging_dimension: Migration to 19.0 (#2327)