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_fresh_pack
| Inputs | Method | Outputs |
|---|---|---|
|
- for package_level in self: - if not package_level.move_line_ids or all(ml.package_id and ml.package_id == ml.result_package_id for ml in package_level.move_line_ids): - package_level.is_fresh_package = False - else: - package_level.is_fresh_package = True |
|
