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.rule

Compute Method: _compute_code

Inputs Method Outputs
for rule in self:
            if rule.mode == 'auto':
                rule.code = False

Back to entity