diff --git a/addons/mail/mail_mail.py b/addons/mail/mail_mail.py index c4466a9f0c4..9811fcd6aef 100644 --- a/addons/mail/mail_mail.py +++ b/addons/mail/mail_mail.py @@ -293,7 +293,7 @@ class mail_mail(osv.Model): # /!\ can't use mail.state here, as mail.refresh() will cause an error # see revid:odo@openerp.com-20120622152536-42b2s28lvdv3odyr in 6.1 self._postprocess_sent_message(cr, uid, mail, context=context, mail_sent=mail_sent) - _logger.info('Mail with ID %r and Message-Id %r successfully sent', mail.id, mail.message_id) + _logger.info('Mail with ID %r and Message-Id %r successfully sent', mail.id, mail.message_id) except MemoryError: # prevent catching transient MemoryErrors, bubble up to notify user or abort cron job # instead of marking the mail as failed