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_quantity_product_uom

View 20.0
Inputs Method Outputs
  • uom_id
  • quantity
  • product_id
  • product_id.uom_id
+ for move in self:
+             move.quantity_product_uom = move.uom_id._compute_quantity(move.quantity, move.product_id.uom_id, rounding_method='HALF-UP')
  • quantity_product_uom

Back to entity