Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Stock Quant Package Dimension

Entity: stock.quant.package

Compute Method: _compute_weight_uom_name

View 18.0
Inputs Method Outputs
  • weight_uom_id
  • weight_uom_id.name
+ for package in self:
+             package.weight_uom_name = package.weight_uom_id.name
  • weight_uom_name

Back to entity