This commit is contained in:
Suherdy Yacob 2026-01-08 11:59:34 +07:00
parent 1b840d015d
commit b7d0f8c555
7 changed files with 2 additions and 1 deletions

View File

@ -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.

Binary file not shown.

Binary file not shown.

View File

@ -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."))