~vrt-openerp/openobject-addons/6.1-trunk-bug-923440

Viewing all changes in revision 6650.

  • 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: