8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-28 15:42:25 +00:00

[Printer] fix PrintAgain

This commit is contained in:
Maxime Bombar 2018-11-28 13:27:51 +01:00 committed by root
parent acef2ee5a5
commit 68eb0d813d

View file

@ -153,7 +153,7 @@ def print_job_again(request, jobwithoptions, **_kwargs):
jobwithoptions = job_form.instance jobwithoptions = job_form.instance
jobwithoptions.pk = None jobwithoptions.pk = None
jobwithoptions.print_operation = PrintOperation.objects.create(user=jobwithoptions.print_operation.user) jobwithoptions.print_operation = PrintOperation.objects.create(user=jobwithoptions.print_operation.user)
jobwithoptions.status = 'Running' jobwithoptions.status = 'Printable'
jobwithoptions.save() jobwithoptions.save()
return payment(request, [jobwithoptions]) return payment(request, [jobwithoptions])
return form( return form(