Browse Source

[FIX] report_py3o: respect _postprocess_report method signature

Co-Authored-By: lmignon <laurent.mignon@acsone.eu>
pull/258/head
Houzéfa Abbasbhay 6 years ago
committed by GitHub
parent
commit
60027dc7a8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      report_py3o_fusion_server/models/py3o_report.py

2
report_py3o_fusion_server/models/py3o_report.py

@ -106,5 +106,5 @@ class Py3oReport(models.TransientModel):
report_xml.report_name, filetype, convert_seconds)
if len(model_instance) == 1:
self._postprocess_report(
result_path, model_instance.id)
model_instance, result_path)
return result_path
Loading…
Cancel
Save