fix bugs
This commit is contained in:
parent
1b840d015d
commit
b7d0f8c555
@ -8,7 +8,7 @@
|
|||||||
Upon document completion, the sequence number is generated and stamped on the document.
|
Upon document completion, the sequence number is generated and stamped on the document.
|
||||||
User can edit the sequence format directly from the field properties.
|
User can edit the sequence format directly from the field properties.
|
||||||
""",
|
""",
|
||||||
'author': "Mapan",
|
'author': "Suherdy Yacob",
|
||||||
'category': 'Sign',
|
'category': 'Sign',
|
||||||
'version': '0.1',
|
'version': '0.1',
|
||||||
'depends': ['sign'],
|
'depends': ['sign'],
|
||||||
|
|||||||
Binary file not shown.
BIN
controllers/__pycache__/__init__.cpython-312.pyc
Normal file
BIN
controllers/__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
BIN
controllers/__pycache__/main.cpython-312.pyc
Normal file
BIN
controllers/__pycache__/main.cpython-312.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -280,6 +280,7 @@ class SignRequest(models.Model):
|
|||||||
try:
|
try:
|
||||||
output = io.BytesIO()
|
output = io.BytesIO()
|
||||||
new_pdf.write(output)
|
new_pdf.write(output)
|
||||||
|
self.completed_document = base64.b64encode(output.getvalue())
|
||||||
except PdfReadError:
|
except PdfReadError:
|
||||||
raise ValidationError(_("There was an issue downloading your document. Please contact an administrator."))
|
raise ValidationError(_("There was an issue downloading your document. Please contact an administrator."))
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user