Skip to content

Commit

Permalink
[IMP] shopinvader_api_sale_loyalty: do not update rewards when readin…
Browse files Browse the repository at this point in the history
…g a sale
  • Loading branch information
sebastienbeau authored and duongtq committed Jun 27, 2024
1 parent eb2df78 commit 0e4a21c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion shopinvader_api_sale_loyalty/schemas/sale.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 0e4a21c

Please sign in to comment.