always mark OPR as ticket_generated=True

This commit is contained in:
Thomas Steen Rasmussen 2021-07-22 00:35:07 +02:00
parent 0e0374b577
commit 41467447a8

View file

@ -266,9 +266,9 @@ class Order(CreatedUpdatedModel):
if request:
messages.success(request, msg)
# and mark the OPR as ticket_generated=True
order_product.ticket_generated = True
order_product.save()
# and mark the OPR as ticket_generated=True
order_product.ticket_generated = True
order_product.save()
return tickets