diff --git a/shopinvader_api_sale_loyalty/schemas/sale.py b/shopinvader_api_sale_loyalty/schemas/sale.py index 747b96b41c..63c1ce51ee 100644 --- a/shopinvader_api_sale_loyalty/schemas/sale.py +++ b/shopinvader_api_sale_loyalty/schemas/sale.py @@ -35,7 +35,6 @@ def from_sale_order(cls, odoo_rec): for card in odoo_rec.generated_coupon_ids ] # Get claimable rewards - odoo_rec._update_programs_and_rewards() claimable_rewards = odoo_rec._get_claimable_rewards() obj.claimable_rewards = [] for _, rewards in claimable_rewards.items():