mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
Fix native flag
This commit is contained in:
committed by
Elmeri Niemelä
parent
1f81e4c38f
commit
7eebf67488
@@ -152,7 +152,7 @@ class Py3oParser(report_sxw):
|
||||
input = data_struct.render(localcontext)
|
||||
|
||||
filetype = report_xml.py3o_fusion_filetype
|
||||
is_native = Formats().get_format(filetype)
|
||||
is_native = Formats().get_format(filetype).native
|
||||
if is_native:
|
||||
res = input
|
||||
else: # Call py3o.server to render the template in the desired format
|
||||
|
||||
Reference in New Issue
Block a user