From f2c23488c3a29416582cdcd9c2ec993025c20e47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 26 Nov 2013 13:08:43 +0100 Subject: [PATCH] [FIX] email_template: fixing to have the correct report suppose to correctly fix. So, fix the fix to fix it bzr revid: tde@openerp.com-20131126120843-gt8vdhl3yn61vd8r --- addons/email_template/email_template.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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