diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-11-09 15:34:31 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-11-09 15:38:17 +0100 |
| commit | 7cab5545908da0038aeaccf02dbc6f04b90f70f9 (patch) | |
| tree | 85a165b01e1303adafb02cefbb639bec430add5b /addons/website_quote/data/website_quotation_data.xml | |
| parent | 7a0a649deb169cbe730aff59710cfbd984fe522e (diff) | |
[FIX] portal_sale,website_quote: templates compatible with wysiwyg
<% are automatically escaped as soon as the wysiwyg tool
is used to edit the template.
The wysiwyg tool is not compatible with Jinja, and
it isn't expected to be.
To avoid to have this problem everytime when
editing the portal email templates, we use
a Jinja syntax compatible with the wysiwyg,
as a workaround.
opw-654223
Diffstat (limited to 'addons/website_quote/data/website_quotation_data.xml')
| -rw-r--r-- | addons/website_quote/data/website_quotation_data.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_quote/data/website_quotation_data.xml b/addons/website_quote/data/website_quotation_data.xml index 384b092e118..05802f6a8b7 100644 --- a/addons/website_quote/data/website_quotation_data.xml +++ b/addons/website_quote/data/website_quotation_data.xml @@ -122,7 +122,7 @@ % endif </p> - <% set signup_url = object.get_signup_url() %> + % set signup_url = object.get_signup_url() % if signup_url: <p> You can access this document and pay online via our Customer Portal: |
