[FIX] mail_thread: fixed function name from tools, text2html is plaintext2html.

bzr revid: tde@openerp.com-20121114163252-s0eqvjvdy953yyq2
This commit is contained in:
Thibault Delavallée
2012-11-14 17:32:52 +01:00
parent 9f0f87f82b
commit 53e1a01ee1
+1 -1
View File
@@ -747,7 +747,7 @@ class mail_thread(osv.AbstractModel):
# 1. Pre-processing: body, partner_ids, type and subtype
if content_subtype == 'plaintext':
body = tools.text2html(body)
body = tools.plaintext2html(body)
partner_ids = kwargs.pop('partner_ids', [])
if parent_id: