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_location_dest_id

View 20.0
Inputs Method Outputs
  • move_line_ids
  • move_line_ids.location_dest_id
+ for package in self:
+             package.location_dest_id = package.move_line_ids.location_dest_id[:1] or False
  • location_dest_id

Back to entity