[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
This commit is contained in:
Thibault Delavallée 2013-11-26 13:08:43 +01:00
parent 974675bcbf
commit f2c23488c3
1 changed files with 1 additions and 3 deletions

View File

@ -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