refactor: Update sign document route type from json to jsonrpc.
This commit is contained in:
parent
b7d0f8c555
commit
ac772f8fe8
22
.gitignore
vendored
Normal file
22
.gitignore
vendored
Normal file
@ -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
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -93,7 +93,7 @@ class SignController(Sign):
|
||||
except Exception:
|
||||
return request.not_found()
|
||||
|
||||
@http.route(['/sign/sign/<int:request_id>/<token>'], type='json', auth='public')
|
||||
@http.route(['/sign/sign/<int:request_id>/<token>'], 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:
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user