From 79a2df02a51229a743a95726874d7fa329c47028 Mon Sep 17 00:00:00 2001 From: Eduard Brahas Date: Wed, 4 Sep 2024 17:18:50 +0200 Subject: [PATCH] [FIX]sale_coupon_delivery_auto_refresh: set context only for coupons --- sale_coupon_delivery_auto_refresh/models/sale_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sale_coupon_delivery_auto_refresh/models/sale_order.py b/sale_coupon_delivery_auto_refresh/models/sale_order.py index 70ab796c..c0f427cc 100644 --- a/sale_coupon_delivery_auto_refresh/models/sale_order.py +++ b/sale_coupon_delivery_auto_refresh/models/sale_order.py @@ -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()