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_is_payment_program

Inputs Method Outputs
for program in self:
            program.is_payment_program = program.program_type in ('gift_card', 'ewallet')

Back to entity