Browse Source

[FIX] fallback to libreoffice conversion when no server is configured

fixes #200
14.0-report-py3o-pr-506
Holger Brunn 7 years ago
committed by default
parent
commit
198cd5399b
  1. 3
      report_py3o/models/py3o_report.py

3
report_py3o/models/py3o_report.py

@ -253,6 +253,9 @@ class Py3oReport(models.TransientModel):
out_stream.seek(0)
tmpl_data = out_stream.read()
if self.env.context.get('report_py3o_skip_conversion'):
return result_path
result_path = self._convert_single_report(
result_path, model_instance, data
)

Loading…
Cancel
Save