diff options
| author | Thibault Delavallée <tde@openerp.com> | 2016-08-22 16:12:08 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2016-08-30 15:54:55 +0200 |
| commit | 97425bfe3f2b317595e7086aedf7b5689dc9d218 (patch) | |
| tree | 37b883265d2b14a91783b6b9b157fbef2ee32a2d /addons/crm/data/mail_template_data.xml | |
| parent | b4a159d2614d64aae8570c49ee79121fdb30676c (diff) | |
[REF] various: make mako mail templates more xml compliant
As we will soon improve the sanitizer we will be able to sanitize email
templates body. However this implies some cleaning in the templates to
be sure mako is not considered as invalid html / xml and therefore removed
from the template body.
Diffstat (limited to 'addons/crm/data/mail_template_data.xml')
| -rw-r--r-- | addons/crm/data/mail_template_data.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/data/mail_template_data.xml b/addons/crm/data/mail_template_data.xml index bd9407e1cf1..2797493b1f3 100644 --- a/addons/crm/data/mail_template_data.xml +++ b/addons/crm/data/mail_template_data.xml @@ -12,9 +12,9 @@ <field name="auto_delete" eval="True"/> <field name="scheduled_date">${(datetime.datetime.now() + relativedelta(days=2)).strftime('%Y-%m-%d %H:%M')}</field> <field name="body_html" ><![CDATA[ - % set last_created_team = user.env['crm.team'].search([], order="create_date desc")[0] <div style="margin: 10px auto;"> + % set last_created_team = user.env['crm.team'].search([], order="create_date desc")[0] <table cellspacing="0" cellpadding="0" style="width:100%;"> <tbody> <tr> |
