this was probably what it was meant to be
This commit is contained in:
parent
2c8f04a9a0
commit
024f5dd093
|
@ -290,7 +290,7 @@ class Order(CreatedUpdatedModel):
|
|||
self.save()
|
||||
|
||||
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
|
||||
else:
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue