From de860e50cea4b7f537435dbb986f2fbe9bd30abc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 15 Sep 2009 23:02:27 +0200 Subject: [PATCH] Missing context in browse call for res.user in report --- trytond/report/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/report/report.py b/trytond/report/report.py index 78d92ccfec..8d82b5de42 100644 --- a/trytond/report/report.py +++ b/trytond/report/report.py @@ -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