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

Compute Method: _compute_has_lines_without_result_package

View 20.0
Inputs Method Outputs
  • move_line_ids
  • move_line_ids.result_package_id
+ for move in self:
+             move.has_lines_without_result_package = move.move_line_ids.result_package_id and any(not line.result_package_id for line in move.move_line_ids)
  • has_lines_without_result_package

Back to entity