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

Module: Valued Picking Report

Entity: stock.picking

Compute Method: _compute_currency_id

Inputs Method Outputs
  • sale_id
  • sale_id.currency_id
  • company_id
  • company_id.currency_id
for item in self:
            item.currency_id = item.sale_id.currency_id or item.company_id.currency_id

Back to entity