diff --git a/openerp/http.py b/openerp/http.py index 9cd0bfa0197..281b239c265 100644 --- a/openerp/http.py +++ b/openerp/http.py @@ -298,9 +298,9 @@ class WebRequest(object): .. deprecated:: 8.0 - Use the ``id`` attribute on :attr:`.session` + Use the ``sid`` attribute on :attr:`.session` """ - return self.session.id + return self.session.sid @property def registry(self):