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.line

Compute Method: _compute_product_packaging_qty

Inputs Method Outputs
self.product_packaging_qty = 0
for line in self:
            if not line.move_id.product_packaging_id:
                continue
            line.product_packaging_qty = line.move_id.product_packaging_id._compute_qty(line.quantity, line.product_uom_id)

Back to entity