1.0/trytond

changeset 1399:4be1a01277cd

Missing context in browse call for res.user in report (transplanted from 9e73df3d90b95bb330ef08ffac73f3d7e5f26aa8)
author Cédric Krier <ced@b2ck.com>
date Tue, 15 Sep 2009 23:02:27 +0200
parents 2ab9ca6dc1b8
children d42e37275006
files trytond/report/report.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/trytond/report/report.py	Mon Sep 14 18:08:02 2009 +0200
     1.2 +++ b/trytond/report/report.py	Tue Sep 15 23:02:27 2009 +0200
     1.3 @@ -225,7 +225,7 @@
     1.4          localcontext = {}
     1.5          localcontext['datas'] = datas
     1.6          localcontext['user'] = self.pool.get('res.user').\
     1.7 -                browse(cursor, user, user)
     1.8 +                browse(cursor, user, user, context=context)
     1.9          localcontext['formatLang'] = self.format_lang
    1.10          localcontext['decodestring'] = decodestring
    1.11          localcontext['StringIO'] = StringIO.StringIO