Browse Source

[IMP] Escape 'False' when rendering value

14.0-report-py3o-pr-506
Laurent Mignon (ACSONE) 8 years ago
committed by default
parent
commit
6411920dfd
  1. 2
      report_py3o/py3o_parser.py

2
report_py3o/py3o_parser.py

@ -148,7 +148,7 @@ class Py3oParser(report_sxw):
in_stream = StringIO(tmpl_data) in_stream = StringIO(tmpl_data)
out_stream = StringIO() out_stream = StringIO()
template = Template(in_stream, out_stream)
template = Template(in_stream, out_stream, escape_false=True)
localcontext = parser_instance.localcontext localcontext = parser_instance.localcontext
if report_xml.py3o_is_local_fusion: if report_xml.py3o_is_local_fusion:
template.render(localcontext) template.render(localcontext)

Loading…
Cancel
Save