lingo: don't include basket items in invoices cells (#22932)
This commit is contained in:
parent
0cce0da6ab
commit
57820cea78
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue