lingo: fix typo in active invoices cell (#13757)
This commit is contained in:
parent
02b5e88df5
commit
387c42c495
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue