[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#116440

X-original-commit: 92a9fe972337554f8dac8bad47e911f054fb27d9
Signed-off-by: Demany Antoine (ande) <ande@odoo.com>
This commit is contained in:
Antoine (ande)
2023-03-24 20:56:24 +01:00
parent 1a3bea26f3
commit 783e1b78ef
@@ -127,5 +127,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"),
}