summaryrefslogtreecommitdiff
path: root/odoo/http.py
diff options
context:
space:
mode:
authorJairo Llopis <Yajo@users.noreply.github.com>2018-05-09 08:46:15 +0100
committerxmo-odoo <xmo@odoo.com>2018-05-09 09:46:15 +0200
commit285ead28e31ca54e9629d5153d0d03d7b4951535 (patch)
tree3de03167228179eff72a3d12f2b42cd11c0d7803 /odoo/http.py
parente9e8fd24cf77397d57b73fb6ceb9befd326de19b (diff)
[IMP] Handle XMLRPC calls from standard controllers
This way, XMLRPC calls can get request details form the standard `odoo.http.request` system. Move jsonrpc to the same controller while at it, for coherence. Fix #24183
Diffstat (limited to 'odoo/http.py')
-rw-r--r--odoo/http.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/odoo/http.py b/odoo/http.py
index e06f345964d..1dafdbf9656 100644
--- a/odoo/http.py
+++ b/odoo/http.py
@@ -1634,11 +1634,6 @@ def content_disposition(filename):
#----------------------------------------------------------
class CommonController(Controller):
- @route('/jsonrpc', type='json', auth="none")
- def jsonrpc(self, service, method, args):
- """ Method used by client APIs to contact OpenERP. """
- return dispatch_rpc(service, method, args)
-
@route('/gen_session_id', type='json', auth="none")
def gen_session_id(self):
nsession = root.session_store.new()