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

Module: Stock Checkout Synchronization

Entity: stock.picking

Compute Method: _compute_can_sync_to_checkout

Inputs Method Outputs
  • picking_type_id
  • picking_type_id.checkout_sync
for picking in self:
            picking.can_sync_to_checkout = False
            for dest_move in picking.mapped("move_ids.move_dest_ids"):
                if dest_move.picking_type_id.checkout_sync:
                    picking.can_sync_to_checkout = True
                    break

Back to entity