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_level

Compute Method: _compute_is_done

View 18.0
Inputs Method Outputs
  • is_fresh_package
  • package_id
- for package_level in self:
-             # If it is an existing package
-             if package_level.is_fresh_package:
-                 package_level.is_done = True
-             else:
-                 package_level.is_done = package_level._check_move_lines_map_quant_package(package_level.package_id, only_picked=True)
  • is_done

Back to entity