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()
|
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
|
||||||
|
|
Loading…
Reference in a new issue