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

Compute Method: _compute_contained_quant_ids

View 19.0
Inputs Method Outputs
  • quant_ids
  • all_children_package_ids
  • all_children_package_ids.quant_ids
+ for package in self:
+             package.contained_quant_ids = package.quant_ids | package.all_children_package_ids.quant_ids
  • contained_quant_ids

Back to entity