Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Delivery - Stock
Entity: stock.picking
Compute Method: _compute_shipping_weight
| Inputs | Method | Outputs |
|---|---|---|
|
- for picking in self: - # if shipping weight is not assigned => default to calculated product weight - picking.shipping_weight = ( - picking.weight_bulk + - sum(pack.shipping_weight or pack.with_context(picking_id=picking.id).weight for pack in picking.package_ids.sudo()) - ) |
|
