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_packaging_uom_qty

View 19.0
Inputs Method Outputs
  • packaging_uom_id
  • product_uom
  • product_uom_qty
+ for move in self:
+             if move.packaging_uom_id:
+                 move.packaging_uom_qty = move.product_uom._compute_quantity(move.product_uom_qty, move.packaging_uom_id)
  • packaging_uom_qty

Back to entity