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

Compute Method: _compute_points

View 19.0 View 20.0
Inputs Method Outputs
+ points_per_card = self.env["loyalty.history"]._get_points_by_card(self)
+ for card, points in points_per_card.items():
+             card.points = points
  • points

Back to entity