From 38ba9004ebd5a8cb7f104258358807c71f17d7ff Mon Sep 17 00:00:00 2001 From: Emmanuel Cazenave Date: Mon, 13 May 2019 15:07:58 +0200 Subject: [PATCH] lingo: don't recompute fees after payment (it was for partial payments) (#32441) --- combo/apps/lingo/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combo/apps/lingo/views.py b/combo/apps/lingo/views.py index 124edfc1..dde06906 100644 --- a/combo/apps/lingo/views.py +++ b/combo/apps/lingo/views.py @@ -517,7 +517,7 @@ class PaymentView(View): except: # ignore errors, it will be retried later on if it fails logger.exception('error in sync notification for basket item %s', item.id) - regie.compute_extra_fees(user=transaction.user) + if transaction.remote_items: transaction.first_notify_remote_items_of_payments()