From fdb7a8db267e97edaf48b37f65f09ee235b98b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Mon, 4 Dec 2017 13:49:50 +0100 Subject: [PATCH] [FIX][IMP] mail: remove cdata of notification email data and fix some invalid stuff Using xml type it allows to have a cleaner view of the content in a classic code editor. This commit also fixes some xml-related invalid stuff that does not impact the notification email rendering. --- addons/mail/data/mail_data.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/addons/mail/data/mail_data.xml b/addons/mail/data/mail_data.xml index 34789916a48..ad6f58665c2 100644 --- a/addons/mail/data/mail_data.xml +++ b/addons/mail/data/mail_data.xml @@ -70,12 +70,12 @@ ${object.subject or (object.record_name and 'Re: %s' % object.record_name) or (object.parent_id and object.parent_id.subject and 'Re: %s' % object.parent_id.subject) or (object.parent_id and object.parent_id.record_name and 'Re: %s' % object.parent_id.record_name)} -
+% set company = ctx.get('company', user.company_id) % if ctx.get('has_button_access'): -
-
+
+
@@ -111,13 +111,13 @@ % endif - ${company.name} + ${company.name}
+ style="background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin:10px 0;"/> % if ctx.get('subtype') and ctx.get('subtype').internal:

Internal communication: Replying will post an internal note. Followers won't receive any email notification. @@ -155,7 +155,7 @@ using Odoo.

-
]]> +