diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-12-20 15:46:52 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-12-20 15:46:52 +0100 |
| commit | b92ad3900514875bc97d135af5feb0cdef1481e4 (patch) | |
| tree | 13b61589bef1de788df1ab60cd78c5a9c8b1226a /addons/plugin/plugin_handler.py | |
| parent | 73dfa69e34feef8629ece89ea74ad82eb42b3c5d (diff) | |
[FIX] email_template: support of email_recipients in send_mail.
email_recipients is a char fields holding a comma separated list of partner_ids
that are the email recipients. This field is correctly handled in the composer
but was not taken into account in the send_mail method email_template.
However due to model limitations, this field can only be taken into account
when sending the email directly using force_send. When the email is
queued, no field is available to hold the value of email_recipients.
This is already fixed in trunk/v8 as a field has been added to handle
this value.
[FIX] mail: when sending email to some recipients_ids, filter to have only
the existing partner_ids. Trusting email template to generate valid
partner_ids is a bit risky.
[TESTS] email_template: added tests for send_mail
bzr revid: tde@openerp.com-20131220144652-h18yam60vpedbh7x
Diffstat (limited to 'addons/plugin/plugin_handler.py')
0 files changed, 0 insertions, 0 deletions
