lingo: only notify paid transactions (#19382)

This commit is contained in:
Frédéric Péters 2017-10-11 16:59:09 +02:00
parent a8e02ad2b5
commit a930b94120
1 changed files with 2 additions and 0 deletions

View File

@ -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 = []