[FIX] report_py3o: respect _postprocess_report method signature

Co-Authored-By: lmignon <laurent.mignon@acsone.eu>
pull/258/head
Houzéfa Abbasbhay 2019-03-09 18:27:10 +01:00 committed by GitHub
parent b5706db629
commit 60027dc7a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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