[BUG-FIX] email_template - lp:701542

lp bug: https://launchpad.net/bugs/701542 fixed

bzr revid: jam@tinyerp.com-20110112064650-2o9okbwlciani022
This commit is contained in:
jam-openerp
2011-01-12 12:16:50 +05:30
parent 7d1ede5af0
commit 0e00221731
@@ -89,14 +89,13 @@ class email_template_mailbox(osv.osv):
values['subject'] or u'',
body or u'',
reply_to=values.get('reply_to') or u'',
email_bcc=values.get('email_bcc') or u'',
email_cc=values.get('email_cc') or u'',
email_bcc=[values.get('email_bcc') or u''],
email_cc=[values.get('email_cc') or u''],
subtype=subtype,
attach=attach_to_send,
openobject_id=values['message_id']
)
if result == True:
account = account_obj.browse(cr, uid, values['account_id'][0], context=context)
if account.auto_delete: