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

Module: Test ORM

Entity: res.partner

Compute Method: _get_company_currency

Inputs Method Outputs
for partner in self:
            partner.currency_id = partner.sudo().company_id.currency_id

Back to entity