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_nominative
| Inputs | Method | Outputs |
|---|---|---|
|
for program in self:
program.is_nominative = program.applies_on == 'both' or\
- (program.program_type == 'ewallet' and program.applies_on == 'future')
+ (program.program_type in ('ewallet', 'loyalty') and program.applies_on == 'future')
|
|
