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

Module: Coupons & Loyalty

Entity: loyalty.program

Compute Method: _compute_currency_id

Inputs Method Outputs
for program in self:
            program.currency_id = program.company_id.currency_id or program.currency_id

Back to entity