projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c339d8
)
[FIX] http.py: session id is `sid` attribute
author
Christophe Simonis
<chs@odoo.com>
Mon, 1 Sep 2014 13:49:26 +0000
(15:49 +0200)
committer
Christophe Simonis
<chs@odoo.com>
Mon, 1 Sep 2014 13:49:26 +0000
(15:49 +0200)
openerp/http.py
patch
|
blob
|
history
diff --git
a/openerp/http.py
b/openerp/http.py
index
9cd0bfa
..
281b239
100644
(file)
--- 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):