diff --git a/__manifest__.py b/__manifest__.py index 4cc69b5..8f4a403 100755 --- a/__manifest__.py +++ b/__manifest__.py @@ -8,7 +8,7 @@ Upon document completion, the sequence number is generated and stamped on the document. User can edit the sequence format directly from the field properties. """, - 'author': "Mapan", + 'author': "Suherdy Yacob", 'category': 'Sign', 'version': '0.1', 'depends': ['sign'], diff --git a/__pycache__/__init__.cpython-312.pyc b/__pycache__/__init__.cpython-312.pyc index 349f5e3..46fcb75 100644 Binary files a/__pycache__/__init__.cpython-312.pyc and b/__pycache__/__init__.cpython-312.pyc differ diff --git a/controllers/__pycache__/__init__.cpython-312.pyc b/controllers/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..d97b371 Binary files /dev/null and b/controllers/__pycache__/__init__.cpython-312.pyc differ diff --git a/controllers/__pycache__/main.cpython-312.pyc b/controllers/__pycache__/main.cpython-312.pyc new file mode 100644 index 0000000..95105bc Binary files /dev/null and b/controllers/__pycache__/main.cpython-312.pyc differ diff --git a/models/__pycache__/sign_item.cpython-312.pyc b/models/__pycache__/sign_item.cpython-312.pyc index db9e88c..f95c1e2 100644 Binary files a/models/__pycache__/sign_item.cpython-312.pyc and b/models/__pycache__/sign_item.cpython-312.pyc differ diff --git a/models/__pycache__/sign_request.cpython-312.pyc b/models/__pycache__/sign_request.cpython-312.pyc index ec34735..e2aff84 100644 Binary files a/models/__pycache__/sign_request.cpython-312.pyc and b/models/__pycache__/sign_request.cpython-312.pyc differ diff --git a/models/sign_request.py b/models/sign_request.py index bf98748..ec05ec4 100755 --- a/models/sign_request.py +++ b/models/sign_request.py @@ -280,6 +280,7 @@ class SignRequest(models.Model): try: output = io.BytesIO() new_pdf.write(output) + self.completed_document = base64.b64encode(output.getvalue()) except PdfReadError: raise ValidationError(_("There was an issue downloading your document. Please contact an administrator."))