[ADD] uid field in context used when requesting a view, so modifiers processing can eval uid
lp bug: https://launchpad.net/bugs/920033 fixed bzr revid: xmo@openerp.com-20120126105152-ou54c38vmohibs0c
This commit is contained in:
parent
272298be47
commit
e23c373f75
|
@ -116,7 +116,7 @@ class OpenERPSession(object):
|
|||
"""
|
||||
assert self._uid, "The user needs to be logged-in to initialize his context"
|
||||
self.context = self.build_connection().get_user_context() or {}
|
||||
|
||||
self.context['uid'] = self._uid
|
||||
return self.context
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in New Issue