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

Module: Inventory

Entity: stock.move

Compute Method: _compute_uom_id

View 20.0
Inputs Method Outputs
  • product_id
  • product_id.uom_id
  • product_id.uom_id.id
+ for move in self:
+             move.uom_id = move.product_id.uom_id.id
  • uom_id

Back to entity