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_product_packaging_quantity

View 18.0
Inputs Method Outputs
  • product_packaging_id
  • quantity
  • product_uom
- self.product_packaging_quantity = False
- for move in self:
-             if not move.product_packaging_id:
-                 continue
-             move.product_packaging_quantity = move.product_packaging_id._compute_qty(move.quantity, move.product_uom)
  • product_packaging_quantity

Back to entity