[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:
Xavier Morel 2012-01-26 11:51:52 +01:00
parent 272298be47
commit e23c373f75
1 changed files with 1 additions and 1 deletions

View File

@ -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