mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] Escape 'False' when rendering value
This commit is contained in:
committed by
Elmeri Niemelä
parent
a3cfe88b7c
commit
1e01df761f
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user