diff --git a/odoo/http.py b/odoo/http.py index e444d5c49c0..86d8028f0da 100644 --- a/odoo/http.py +++ b/odoo/http.py @@ -619,7 +619,7 @@ class JsonRequest(WebRequest): # If we use jsonp, that's mean we are called from another host # Some browser (IE and Safari) do no allow third party cookies # We need then to manage http sessions manually. - response['session_id'] = self.session_id + response['session_id'] = self.session.sid mime = 'application/javascript' body = "%s(%s);" % (self.jsonp, json.dumps(response),) else: