[14.0][MIG] report_py3o: Migration to 14.0

This commit is contained in:
Elmeri Niemelä
2020-10-21 18:33:18 +03:00
parent 670f42c353
commit bee9ce47be
8 changed files with 35 additions and 28 deletions

View File

@@ -196,7 +196,7 @@ class Py3oReport(models.TransientModel):
# consumption...
# ... but odoo wants the whole data in memory anyways :)
buffer = BytesIO(f.read())
self.ir_actions_report_id.postprocess_pdf_report(model_instance, buffer)
self.ir_actions_report_id._postprocess_pdf_report(model_instance, buffer)
return result_path
def _create_single_report(self, model_instance, data):