-
Committer:
Olivier Dony
-
Date:
2012-03-08 15:56:50 UTC
-
Revision ID:
odo@openerp.com-20120308155650-blnwf7x2bkmsfue2
[FIX] mail*: properly handle b64-encoding for attachments
When reading the datas property of an attachment,
a base64-encoded stream is expected.
The mail.message.schedule_with_attach() method OTOH
expects a binary file for attachments, so it should
be decoded if extracted from a binary field.