From cc54a2e6ffe0327d40e72f309a8cea939559f753 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Fri, 30 Sep 2016 14:52:55 +0200 Subject: [PATCH] [FIX] (website_)mass_mailing: remove website dependency (once and for all?) mass_mailing snippets contained links to "/page/contactus", url which only exists if website is installed. Also, t-if="website" which were in snippets were unclean. Now, the website_mass_mailing module which was already there to install website snippet and which was already in auto-install with website and mass_mailing is also in charge of extending mass_mailing features. It extends the snippets to add the parts which were marked with t-if website and add the links to "/page/contactus". --- addons/mass_mailing/views/snippets_themes.xml | 102 +----------------- .../views/snippets_templates.xml | 68 ++++++++++++ 2 files changed, 70 insertions(+), 100 deletions(-) diff --git a/addons/mass_mailing/views/snippets_themes.xml b/addons/mass_mailing/views/snippets_themes.xml index f6d2f3991ee..dad98262117 100644 --- a/addons/mass_mailing/views/snippets_themes.xml +++ b/addons/mass_mailing/views/snippets_themes.xml @@ -84,30 +84,6 @@   - -
- - - - - - - - - - - - - - - - - - - - -
- @@ -128,30 +104,6 @@   - -
- - - - - - - - - - - - - - - - - - - - -
- @@ -765,35 +717,9 @@
- - - @@ -818,36 +744,12 @@

-
diff --git a/addons/website_mass_mailing/views/snippets_templates.xml b/addons/website_mass_mailing/views/snippets_templates.xml index d264a5398e3..e7f418a74f3 100644 --- a/addons/website_mass_mailing/views/snippets_templates.xml +++ b/addons/website_mass_mailing/views/snippets_templates.xml @@ -77,4 +77,72 @@
+ + + + + + + + + + +