diff options
| author | fw-bot <otis@odoo.com> | 2020-03-20 12:43:06 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-03-24 08:25:21 +0000 |
| commit | e00ce93a77fb71b49bd505eb0d883bbcb98b584f (patch) | |
| tree | 8a51b2ac78ef16c297cc94ee2c104ea0c80a8237 /addons/web | |
| parent | 27b46767b2b56c3a707297a7491fd5f848e2df32 (diff) | |
[FIX] sale: fix uneditable "Confirmation Email" template body
Website sale order confirmation email is broken by design. Indeed it has
jinja markers between html elements that do not allow them, like between
table and tr, between tr, ...
In this commit we completely rewrite the structure to correctly include
jinja markers where they are not moved or stripped by standard browsers
and editors.
Translations are updated accordingly as changing a mail template content
imply updating the whole body translation.
Followup of 74c5c00
website_sale: add website on some demo orders
Purpose is to showcase orders using website field, used notably for some
template rendering.
Forward port of afd173652214000ed and f74c86d448246b796d
closes odoo/odoo#48228
X-original-commit: d3bdb0a42eb052281b4652bf78e82b1c6c1c1d24
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web')
0 files changed, 0 insertions, 0 deletions
