From 556deae2625a99348849ef041dcbf02baaa264a2 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Mon, 5 Aug 2013 16:58:35 +0200 Subject: [PATCH] Potential problems with request and context bzr revid: nicolas.vanhoren@openerp.com-20130805145835-6yro8zp4exx3uz8v --- addons/web/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/http.py b/addons/web/http.py index df97dca170a..659927aed9d 100644 --- a/addons/web/http.py +++ b/addons/web/http.py @@ -114,7 +114,7 @@ class WebRequest(object): threading.current_thread().dbname = self.db if self.session.uid: threading.current_thread().uid = self.session.uid - self.context = self.session.context + self.context = dict(self.session.context) self.lang = self.context["lang"] def _authenticate(self):