summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/utils.js
diff options
context:
space:
mode:
authornie <nie@odoo.com>2021-03-18 15:14:59 +0000
committernie <nie@odoo.com>2021-03-25 07:51:38 +0000
commit981eab82dbb15783bef7e010ffbc21735710dd0a (patch)
tree4ddd405a41a26e6f4144d76f8e91199d2f48a102 /addons/website/static/src/js/utils.js
parent3826a2645b94e0f62c719814c4dbe4cc6502e1f2 (diff)
[FIX] sale_coupon: translate email subject and template
Steps: - Install Sales - Go to Settings / Translations / Languages - Install Dutch - Go to Settings / Users & Companies / Users - Change demo's language to Dutch - Go to Sales / Configuration / Settings - Activate Coupons & Promotions - Go to Sales / Products / Coupon Programs - Create a new Coupon Program - Click Generate Coupon - Generation Type: Number of Selected Customers - Matching rule: Name contains demo - Generate - Go to Settings / Technical / Email / Emails - Open the email you just sent Bug: Parts of the email are not translated Explanation: The `lang` field is used to determine the template's language. Coupon emails where missing one. Also, the subject of the email wasn't translated. opw:2467640 closes odoo/odoo#68316 X-original-commit: 6fbca2745a36ade4d8e8bdd2f015fd831b872d67 Signed-off-by: backspac <backspac@users.noreply.github.com>
Diffstat (limited to 'addons/website/static/src/js/utils.js')
0 files changed, 0 insertions, 0 deletions