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

Module: Point of Sale - Coupons & Loyalty

Entity: loyalty.program

Compute Method: _compute_pos_report_print_id

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

Back to entity