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

Compute Method: _compute_weight

View 19.0
Inputs Method Outputs
+ packages_weight = self.sudo()._get_weight(self.env.context.get('picking_id'))
+ for package in self:
+             package.weight = packages_weight[package]
  • weight

Back to entity