From 5001d2de5e91f01e6ca46a7ead7e146ba0f38225 Mon Sep 17 00:00:00 2001 From: "Maruan Aguerdouh (magm)" Date: Tue, 4 Apr 2023 09:13:24 +0000 Subject: [PATCH] [FIX] website_mass_mailing: fix newsletters names in newsletter web block Steps to reproduce: - Install website_mass_mailing - Go to the frontend and activate the editor. - Add a newsletter block, change it to subscription form. Issue: The name of the newsletter is displaying also the number of subscribers (e.g. "Newsletter (1)"). Solution: Change the name we are using to display the newsletter name to use the `name` and not the `display_name`. opw-3145571 closes odoo/odoo#117846 X-original-commit: 3930df6c06197b70a019caa4d6782453095a7c66 Signed-off-by: Thibault Delavallee (tde) --- addons/website_mass_mailing/views/snippets_templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_mass_mailing/views/snippets_templates.xml b/addons/website_mass_mailing/views/snippets_templates.xml index 4949f08708f..7723d63a1d2 100644 --- a/addons/website_mass_mailing/views/snippets_templates.xml +++ b/addons/website_mass_mailing/views/snippets_templates.xml @@ -101,7 +101,7 @@ database, without the s_newsletter_list class. See fixNewsletterListClass.