summaryrefslogtreecommitdiff
path: root/odoo/http.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-08-10 16:22:36 +0200
committerChristophe Simonis <chs@odoo.com>2017-08-10 16:22:36 +0200
commit85571bb78c9acc4e867cc3b480be9236a756fc22 (patch)
tree11e77c15caeeb6cb01e09835892bc75351e0c6ba /odoo/http.py
parentdeba788b4cdc22bb50e0c19adb5ed35ed33c0a01 (diff)
parentdde62073baf5a0cc45678e4504fe2f54ccffcf18 (diff)
[MERGE] forward port branch saas-15 up to dde62073baf
Diffstat (limited to 'odoo/http.py')
-rw-r--r--odoo/http.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/odoo/http.py b/odoo/http.py
index 626f43bbea4..fad2a17a124 100644
--- a/odoo/http.py
+++ b/odoo/http.py
@@ -1435,6 +1435,7 @@ class Root(object):
httprequest = werkzeug.wrappers.Request(environ)
httprequest.app = self
httprequest.parameter_storage_class = werkzeug.datastructures.ImmutableOrderedMultiDict
+ threading.current_thread().url = httprequest.url
explicit_session = self.setup_session(httprequest)
self.setup_db(httprequest)