From 1f449be9434bf9fb94a41006cc5ec3f5cc5a17cf Mon Sep 17 00:00:00 2001 From: BALDE Date: Thu, 26 Apr 2018 17:50:56 +0200 Subject: [PATCH] [10.0] mail_template_multi_report: fix error flake8 --- mail_template_multi_report/models/mail_template.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mail_template_multi_report/models/mail_template.py b/mail_template_multi_report/models/mail_template.py index 4719bccd..b978be09 100644 --- a/mail_template_multi_report/models/mail_template.py +++ b/mail_template_multi_report/models/mail_template.py @@ -47,7 +47,8 @@ class MailTemplate(models.Model): report_service = report.report_name if report.report_type in ['qweb-html', 'qweb-pdf']: - result, fmt = self.env['report'].get_pdf([rec.id], report_service), 'pdf' + result, fmt = self.env['report'].get_pdf( + [rec.id], report_service), 'pdf' else: result, fmt = odoo_report.render_report( self._cr, self._uid, [rec.id],