From 148c1ed51c7fc013269924eca2d48caef81dc8fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Mon, 11 Jan 2016 12:03:48 +0100 Subject: [PATCH] [FIX] mail: html issue in invite email Thanks Vitor Fernandes for pointing it out. --- addons/mail/wizard/invite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/wizard/invite.py b/addons/mail/wizard/invite.py index e3916ec5e45..70718081144 100644 --- a/addons/mail/wizard/invite.py +++ b/addons/mail/wizard/invite.py @@ -41,7 +41,7 @@ class invite_wizard(osv.osv_memory): model_name = ir_model.name_get(cr, uid, model_ids, context=context)[0][1] document_name = self.pool[model].name_get(cr, uid, [res_id], context=context)[0][1] - message = _('

Hello,

%s invited you to follow %s document: %s.

') % (user_name, model_name, document_name) + message = _('

Hello,

%s invited you to follow %s document: %s.

') % (user_name, model_name, document_name) result['message'] = message elif 'message' in fields: result['message'] = _('

Hello,

%s invited you to follow a new document.

') % user_name