lingo: fix typo in active invoices cell (#13757)

This commit is contained in:
Frédéric Péters 2016-10-26 15:49:48 +02:00
parent 02b5e88df5
commit 387c42c495
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,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=boot(not history), user=user)
return self.basketitem_set.filter(payment_date__isnull=bool(not history), user=user)
if user:
url = self.webservice_url + '/invoices/'
if history: