mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX] fallback to libreoffice conversion when no server is configured
fixes #200
This commit is contained in:
committed by
Elmeri Niemelä
parent
93acd0a666
commit
ecaa783529
@@ -253,6 +253,9 @@ class Py3oReport(models.TransientModel):
|
|||||||
out_stream.seek(0)
|
out_stream.seek(0)
|
||||||
tmpl_data = out_stream.read()
|
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 = self._convert_single_report(
|
||||||
result_path, model_instance, data
|
result_path, model_instance, data
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user