Skip to content
Snippets Groups Projects
Commit 92a9fe97 authored by Antoine (ande)'s avatar Antoine (ande)
Browse files

[FIX] website_sale: abandoned cart wrong template


To reproduce the issue:
1. Go to Settings > Website
2. Activate "Automatically send abandoned checkout emails"
3. Click on "Customize Abandoned Email Template"
4. Template "Gamification" appears

Error: The template "Ecommerce: Cart Recovery" should have
appeared instead

The hardcoded res_id was wrong

OPW-3207424

closes odoo/odoo#116002

Signed-off-by: default avatarDemany Antoine (ande) <ande@odoo.com>
parent b4793cad
Branches
Tags
No related merge requests found
......@@ -148,5 +148,5 @@ class ResConfigSettings(models.TransientModel):
'res_model': 'mail.template',
'view_id': False,
'view_mode': 'form',
'res_id': 15
'res_id': self.env['ir.model.data']._xmlid_to_res_id("website_sale.mail_template_sale_cart_recovery"),
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment