Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Weighing assistant in batch pickings

Entity: stock.move

Compute Method: _compute_is_has_production

Inputs Method Outputs
  • created_production_id
  • move_orig_ids
self.is_has_production = False
for move in self:
            move.is_has_production = bool(
                move.created_production_id or move.move_orig_ids.mapped("production_id")
            )

Back to entity