[IMP] mail_message: schedule_with_attach: added 'email' type

bzr revid: tde@openerp.com-20120328090253-r9134x6hyh3y6vp1
This commit is contained in:
Thibault Delavallée
2012-03-28 11:02:53 +02:00
parent b294d72973
commit a26730f087
+1
View File
@@ -290,6 +290,7 @@ class mail_message(osv.osv):
'user_id': uid,
'model': model,
'res_id': res_id,
'type': 'email',
'body_text': body if subtype != 'html' else False,
'body_html': body if subtype == 'html' else False,
'email_from': email_from,