projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
473fe9a
)
[FIX] mass_mailing: attachments were not send.
author
Binjal Desai
<dbi@openerp.com>
Thu, 20 Nov 2014 10:08:39 +0000
(15:38 +0530)
committer
Thibault Delavallée
<tde@openerp.com>
Thu, 20 Nov 2014 15:32:53 +0000
(16:32 +0100)
addons/mass_mailing/models/mass_mailing.py
patch
|
blob
|
history
diff --git
a/addons/mass_mailing/models/mass_mailing.py
b/addons/mass_mailing/models/mass_mailing.py
index
8aed21d
..
6e2599d
100644
(file)
--- a/
addons/mass_mailing/models/mass_mailing.py
+++ b/
addons/mass_mailing/models/mass_mailing.py
@@
-594,6
+594,7
@@
class MassMailing(osv.Model):
comp_ctx = dict(context, active_ids=res_ids)
composer_values = {
'author_id': author_id,
+ 'attachment_ids': [(4, attachment.id) for attachment in mailing.attachment_ids],
'body': mailing.body_html,
'subject': mailing.name,
'model': mailing.mailing_model,