Browse Source

[10.0] mail_template_multi_report: fix error flake8

pull/264/head
BALDE 7 years ago
parent
commit
1f449be943
  1. 3
      mail_template_multi_report/models/mail_template.py

3
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],

Loading…
Cancel
Save