Add StringIO in localcontext of report

This commit is contained in:
Cédric Krier committed 2008-07-23 14:37:57 +02:00
1 parent 41956ffcbc
commit 6956a3fccc
1 file changed
+1
+1
View File
@@ -342,6 +342,7 @@ class Report(object):
browse(cursor, user, user)
localcontext['formatLang'] = self.format_lang
localcontext['decodestring'] = decodestring
localcontext['StringIO'] = StringIO.StringIO
localcontext['time'] = time
localcontext['datetime'] = datetime
localcontext.update(context)