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_supplier_id_placeholder

Inputs Method Outputs
for orderpoint in self:
            default_supplier = orderpoint._get_default_supplier()
            orderpoint.supplier_id_placeholder = default_supplier.display_name if default_supplier else ''

Back to entity