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

Module: Purchase Stock

Entity: stock.warehouse.orderpoint

Compute Method: _compute_effective_vendor_id

Inputs Method Outputs
for orderpoint in self:
            orderpoint.effective_vendor_id = orderpoint.supplier_id.partner_id or orderpoint._get_default_supplier().get('partner_id')

Back to entity