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

Module: Drop Shipping

Entity: stock.picking

Compute Method: _compute_is_dropship

Inputs Method Outputs
  • location_dest_id
  • location_dest_id.usage
  • location_id
  • location_id.usage
for picking in self:
            picking.is_dropship = picking.location_dest_id.usage == 'customer' and picking.location_id.usage == 'supplier'

Back to entity