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.picking
Compute Method: _compute_shipping_volume
| Inputs | Method | Outputs |
|---|---|---|
|
for picking in self:
volume = 0
for move in picking.move_ids:
- volume += move.product_uom._compute_quantity(move.quantity, move.product_id.uom_id) * move.product_id.volume
+ volume += move.uom_id._compute_quantity(move.quantity, move.product_id.uom_id) * move.product_id.volume
picking.shipping_volume = volume
|
|
