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_qty

View 17.0
Inputs Method Outputs
  • product_packaging_id
  • product_qty
- self.product_packaging_qty = False
- for move in self:
-             if not move.product_packaging_id:
-                 continue
-             move.product_packaging_qty = move.product_packaging_id._compute_qty(move.product_qty)
  • product_packaging_qty

Back to entity