From e7c53bd15075b7cf1124f9ea03d08e608c495603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 20 Sep 2018 11:46:05 +0200 Subject: [PATCH] [IMP] mass mailing: improve demo data Purpose of this commit is to have some demo data that are coherent. Main things done in this commit are * clean the body of the first mass mailing given to the user in order to have a content more inlined with odoo emails; * update filter of the demo mass mailing to limit the results to something predictable, aka contacts of ReadyMat; * update statistics to be really linked to customer of the demo company by setting model and res_id; * create a statistics for each child of the company ReadyMat so that stat buttons redirect correctly to a filetered view; This commit is linked to task ID 1885121 and closes PR #27003. --- .../mass_mailing/data/mass_mailing_demo.xml | 109 +++++++++++++++--- 1 file changed, 94 insertions(+), 15 deletions(-) diff --git a/addons/mass_mailing/data/mass_mailing_demo.xml b/addons/mass_mailing/data/mass_mailing_demo.xml index 5bae56d68c15a..81a8347912a05 100644 --- a/addons/mass_mailing/data/mass_mailing_demo.xml +++ b/addons/mass_mailing/data/mass_mailing_demo.xml @@ -52,49 +52,128 @@ First Newsletter done + info@yourcompany.example.com - [('customer', '=', True)] + email - ]]> - -
My Company

You get a 20% discount for signing up!

Discount Code: 45A9E77DGW8455

Dear ${object.name}

Great stories have personality. Consider telling a great story that provides personality. Writing a story with personality for potential clients will assist with making a relationship connection. This shows up in small quirks like word choices or phrases. Write from your point of view, not from someone else's experience.

Great stories are for everyone even when only written for just one person. 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.

Kind Regards,

Michael Fletcher

Step 1:

Place Order

Step 2:

Shipping

Step 3:

Payment

]]>
+ Info <info@yourcompany.example.com> + + + + +
+ + + + + + + + + + + + + + + +
+ + + +
+ Your Company + + YourCompanyny +
+
+
+
+
+

+ Great stories have personality. Consider telling a great story that provides personality. + Writing a story with personality for potential clients will assist with making a relationship connection. + This shows up in small quirks like word choices or phrases. Write from your point of view, not from someone else's experience.
+ Great stories are for everyone even when only written for just one person. + 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. +

+
+
+
+ YourCompany
+
+ Unsubscribe + | + Contact +
+
+
+ Powered by Odoo +
+
- + - 1111000@OpenERP.com + 1111000@odoo.com + res.partner + - + - 1111001@OpenERP.com + 1111001@odoo.com + res.partner + - + - 1111002@OpenERP.com + 1111002@odoo.com + res.partner + + + + + + + 1111003@odoo.com + res.partner + + + + + + 1111004@odoo.com + res.partner + - + - 1111003@OpenERP.com + 1111004@odoo.com + res.partner + + - + - 1111004@OpenERP.com + 1111004@odoo.com + res.partner +