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:
c738228
)
[FIX] mail: res was not created if there are no email in email_list when sending...
author
Thibault Delavallée
<tde@openerp.com>
Fri, 26 Jul 2013 10:10:08 +0000
(12:10 +0200)
committer
Thibault Delavallée
<tde@openerp.com>
Fri, 26 Jul 2013 10:10:08 +0000
(12:10 +0200)
bzr revid: tde@openerp.com-
20130726101008
-whwcl1ssh2fsxhbw
addons/mail/mail_mail.py
patch
|
blob
|
history
diff --git
a/addons/mail/mail_mail.py
b/addons/mail/mail_mail.py
index
2cbfec2
..
fbf9d5e
100644
(file)
--- a/
addons/mail/mail_mail.py
+++ b/
addons/mail/mail_mail.py
@@
-288,6
+288,7
@@
class mail_mail(osv.Model):
email_list.append(self.send_get_email_dict(cr, uid, mail, context=context))
# build an RFC2822 email.message.Message object and send it without queuing
+ res = None
for email in email_list:
msg = ir_mail_server.build_email(
email_from = mail.email_from,