From a930b94120380ae6d64e8f9adedfa2b5134124c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 11 Oct 2017 16:59:09 +0200 Subject: [PATCH] lingo: only notify paid transactions (#19382) --- combo/apps/lingo/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/combo/apps/lingo/models.py b/combo/apps/lingo/models.py index 725076b9..a3ce4f11 100644 --- a/combo/apps/lingo/models.py +++ b/combo/apps/lingo/models.py @@ -338,6 +338,8 @@ class Transaction(models.Model): logger = logging.getLogger(__name__) if not items: return + if not self.is_paid(): + return regie = self.regie to_be_paid_remote_items = []