Transactions are not invalidable if the user doesn't have the right to
This commit is contained in:
parent
ae629b55ad
commit
ad2cc22964
2 changed files with 24 additions and 6 deletions
|
|
@ -171,7 +171,7 @@ class InvoiceRenderView(LoginRequiredMixin, View):
|
|||
del tex
|
||||
|
||||
# The file has to be rendered twice
|
||||
for _ in range(2):
|
||||
for ignored in range(2):
|
||||
error = subprocess.Popen(
|
||||
["pdflatex", "invoice-{}.tex".format(pk)],
|
||||
cwd=tmp_dir,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue