Skip to content

Commit

Permalink
[FIX]sale_coupon_delivery_auto_refresh: set context only for coupons
Browse files Browse the repository at this point in the history
  • Loading branch information
toita86 committed Sep 4, 2024
1 parent 8ed8a5c commit 79a2df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sale_coupon_delivery_auto_refresh/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def _auto_refresh_delivery(self):
delivery line
"""
self = self.with_context(
skip_auto_refresh_coupons=False, auto_refresh_delivery=True
skip_auto_refresh_coupons=False, auto_refresh_delivery=False
)
return super(SaleOrder, self)._auto_refresh_delivery()

Expand Down

0 comments on commit 79a2df0

Please sign in to comment.