[FIX] mail: convert attachments to binary as it is the expected format of message_pos...
authorMartin Trigaux <mat@openerp.com>
Tue, 15 Apr 2014 16:14:41 +0000 (18:14 +0200)
committerMartin Trigaux <mat@openerp.com>
Tue, 15 Apr 2014 16:14:41 +0000 (18:14 +0200)
commit1ab962d33829fd07d0cef84e3dbe4d913333aadb
tree0c3db718a2589e5d6cf64aa5bae89c657ebda8d9
parent998b290409af8eb8a26c2e694f9a8b9ef885da7c
[FIX] mail: convert attachments to binary as it is the expected format of message_post opw 604205

The double convertion (render_message and send_mail) is done to keep the API but should be changed in next version.

bzr revid: mat@openerp.com-20140415161441-q6pfueetvv0namgw
addons/email_template/email_template.py
addons/mail/wizard/mail_compose_message.py