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

Module: Warehouse Management: Batch Transfer

Entity: stock.picking.batch

Compute Method: _compute_move_ids

Inputs Method Outputs
for batch in self:
            batch.move_ids = batch.picking_ids.move_ids
            batch.show_check_availability = any(m.state not in ['assigned', 'cancel', 'done'] for m in batch.move_ids)

Back to entity