lingo: don't include basket items in invoices cells (#22932)

This commit is contained in:
Frédéric Péters 2018-03-30 17:11:58 +02:00
parent 0cce0da6ab
commit 57820cea78
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class Regie(models.Model):
def get_invoices(self, user, history=False):
if not self.is_remote():
return self.basketitem_set.filter(payment_date__isnull=bool(not history), user=user)
return []
if user:
url = self.webservice_url + '/invoices/'
if history: