From 3200402afa6dcefcabdccd4cbea6d86d93f9a47a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 9 Nov 2018 16:05:40 +0000 Subject: [PATCH] [IMP] mass_mailing: improve demo data Purpose of this commit is to improve a bit demo data in mass mailing. This includes notably * having real links and UTMs generation for them calling manually convert_link in demo data; * having real statistics about clicks by calling add_click in demo data; It will help having demo data feeling like a real mass mailing has been sent. This commit is linked to task ID 1907994 and PR #28533. --- .../mass_mailing/data/mass_mailing_data.xml | 5 -- .../mass_mailing/data/mass_mailing_demo.xml | 63 ++++++++++++++++++- 2 files changed, 60 insertions(+), 8 deletions(-) diff --git a/addons/mass_mailing/data/mass_mailing_data.xml b/addons/mass_mailing/data/mass_mailing_data.xml index f92fa8e9036..5cf24ae5d9d 100644 --- a/addons/mass_mailing/data/mass_mailing_data.xml +++ b/addons/mass_mailing/data/mass_mailing_data.xml @@ -16,11 +16,6 @@ 30 - - - Newsletter - - Mass Mailing: Process queue diff --git a/addons/mass_mailing/data/mass_mailing_demo.xml b/addons/mass_mailing/data/mass_mailing_demo.xml index 1da0c40375b..215cb88bd7a 100644 --- a/addons/mass_mailing/data/mass_mailing_demo.xml +++ b/addons/mass_mailing/data/mass_mailing_demo.xml @@ -114,6 +114,12 @@ If you try to write with a wide general audience in mind, your story will ring false and be bland. No one will be interested. Write for one person. If it’s genuine for the one, it’s genuine for the rest.

+

+ + Click here for your special promotion ! + +

@@ -125,7 +131,7 @@
Unsubscribe | - Contact + Contact
@@ -134,12 +140,14 @@ - Powered by Odoo + Powered by Odoo
+ + @@ -172,6 +180,7 @@ 1111003@odoo.com res.partner + @@ -187,7 +196,7 @@ 1111004@odoo.com res.partner - + @@ -198,5 +207,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +