this was probably what it was meant to be

This commit is contained in:
Thomas Steen Rasmussen 2019-07-30 01:46:27 +02:00
parent 2c8f04a9a0
commit 024f5dd093

View file

@ -290,7 +290,7 @@ class Order(CreatedUpdatedModel):
self.save() self.save()
def is_not_ticket_generated(self): def is_not_ticket_generated(self):
if self.orderproductrelation_set.filter(tic=True).count() == 0: if self.orderproductrelation_set.filter(ticket_generated=True).count() == 0:
return True return True
else: else:
return False return False