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

Module: Purchase - Manual Currency

Entity: purchase.order

Compute Method: _compute_currency

Inputs Method Outputs
  • currency_id
  • company_id
  • company_id.currency_id
for rec in self:
            rec.is_manual = rec.currency_id != rec.company_id.currency_id

Back to entity