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

Module: Inventory

Entity: stock.move

Compute Method: _compute_partner_id

Inputs Method Outputs
for move in self.filtered(lambda m: m.picking_id):
            move.partner_id = move.picking_id.partner_id

Back to entity