Missing context in browse call for res.user in report
This commit is contained in:
1 parent
d7a7cd4eee
commit
de860e50ce
1 file changed
+1
-1
@@ -124,7 +124,7 @@ class Report(object):
|
||||
localcontext = {}
|
||||
localcontext['datas'] = datas
|
||||
localcontext['user'] = self.pool.get('res.user').\
|
||||
browse(cursor, user, user)
|
||||
browse(cursor, user, user, context=context)
|
||||
localcontext['formatLang'] = lambda *args, **kargs: \
|
||||
self.format_lang(*((cursor, user) + args), **kargs)
|
||||
localcontext['decodestring'] = decodestring
|
||||
|
||||
Reference in new issue
Block a user