diff --git a/addons/email_template/email_template.py b/addons/email_template/email_template.py index ab95613c283..6e19b1eb8aa 100644 --- a/addons/email_template/email_template.py +++ b/addons/email_template/email_template.py @@ -387,9 +387,7 @@ class email_template(osv.osv): if not report_name.endswith(ext): report_name += ext attachments.append((report_name, result)) - - for res_id in template_res_ids: - results[res_id]['attachments'] = attachments + results[res_id]['attachments'] = attachments return results