Add access to report_xml object in report

pull/744/head
Alexis de Lattre 2016-12-20 00:18:53 +01:00 committed by Alexandre D. Díaz
parent 06f8dbb882
commit aa548f9ff6
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ def defautl_extend(report_xml, localcontext):
# add the base64decode function to be able do decode binary fields into # add the base64decode function to be able do decode binary fields into
# the template # the template
localcontext['b64decode'] = b64decode localcontext['b64decode'] = b64decode
localcontext['report_xml'] = report_xml
class Py3oParser(report_sxw): class Py3oParser(report_sxw):