diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..80f29ca --- /dev/null +++ b/.gitignore @@ -0,0 +1,22 @@ +# Python +__pycache__/ +*.py[cod] +*$py.class + +# Odoo +*.log +.env +.venv/ +venv/ +*.pot +*.po~ + +# VSCode +.vscode/ + +# PyCharm +.idea/ + +# OS +.DS_Store +Thumbs.db diff --git a/__pycache__/__init__.cpython-312.pyc b/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 46fcb75..0000000 Binary files a/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/controllers/__pycache__/__init__.cpython-312.pyc b/controllers/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index d97b371..0000000 Binary files a/controllers/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/controllers/__pycache__/main.cpython-312.pyc b/controllers/__pycache__/main.cpython-312.pyc deleted file mode 100644 index 95105bc..0000000 Binary files a/controllers/__pycache__/main.cpython-312.pyc and /dev/null differ diff --git a/controllers/main.py b/controllers/main.py index fb791cc..783c18b 100644 --- a/controllers/main.py +++ b/controllers/main.py @@ -93,7 +93,7 @@ class SignController(Sign): except Exception: return request.not_found() - @http.route(['/sign/sign//'], type='json', auth='public') + @http.route(['/sign/sign//'], type='jsonrpc', auth='public') def sign_document(self, request_id, token, signature=None, items=None, **kwargs): # Intercept items to prevent saving the URL as value if items: diff --git a/models/__pycache__/__init__.cpython-312.pyc b/models/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index df41190..0000000 Binary files a/models/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/models/__pycache__/sign_item.cpython-312.pyc b/models/__pycache__/sign_item.cpython-312.pyc deleted file mode 100644 index f95c1e2..0000000 Binary files a/models/__pycache__/sign_item.cpython-312.pyc and /dev/null differ diff --git a/models/__pycache__/sign_item_type.cpython-312.pyc b/models/__pycache__/sign_item_type.cpython-312.pyc deleted file mode 100644 index 200604d..0000000 Binary files a/models/__pycache__/sign_item_type.cpython-312.pyc and /dev/null differ diff --git a/models/__pycache__/sign_request.cpython-312.pyc b/models/__pycache__/sign_request.cpython-312.pyc deleted file mode 100644 index e2aff84..0000000 Binary files a/models/__pycache__/sign_request.cpython-312.pyc and /dev/null differ