[Trunk/7.0] Incorrect base64 encoding for attachments in mass mailing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP R&D Addons Team 1 |
Bug Description
When you send mass mails using a template with attachments, these are encoded incorrectly in base64 (maybe because they are encoded twice), resulting on corrupted files in the resulting mail.
Steps to reproduce:
-------
- Install demo database with 'account', 'mail' and 'email_template' modules installed.
- Go to 'Settings' > 'Emai' > 'Templates' and select 'Invoice - Send by Email' record.
- Click on "Add context action".
- Create one partner or change an existing to a controlled email address to receive the mail.
- Go to 'Account' > 'Customer invoices'.
- Create one invoice with previous partner.
- Validate it, click on 'More' button and select 'Send by email (Invoice - ...'
- In the inbox of the controlled email address you will see the mail with the corrupted file.
Possible solution:
-------
In addon 'email_template', file 'email_
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 13 lines (+2/-1)1 file modifiedemail_template/email_template.py (+2/-1)
summary: |
- Incorrect base64 encoding for attachments in mass mailing + [Trunk/7.0] Incorrect base64 encoding for attachments in mass mailing |
Changed in openobject-addons: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1) |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Hello,
It has been fixed in https:/ /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-bug- 1164533- darshan
Revision number : 8665
Revision ID: <email address hidden>
Thanks,
darshan