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_mail_template_id

Inputs Method Outputs
for program in self:
            program.mail_template_id = program.communication_plan_ids.mail_template_id[:1]

Back to entity