From 123aabf756e97de5282fe359b782f582ffcb9192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Taymans?= Date: Thu, 30 May 2019 18:20:43 +0200 Subject: [PATCH] [CHG] emc: Remove dependence to website_legal_page This commit removes the dependence to website_legal_page by using it's own template for showing text aside the checkbox in the form. Because the template for this text is not editable by the user (in fact, it is but each time the module is updated, this template is overwritten). Of course website_legal_page can always be installed, and the new template for the text can contain link to the pages generated by website_legal_page. --- easy_my_coop/__openerp__.py | 1 - easy_my_coop/view/subscription_template.xml | 11 +++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/easy_my_coop/__openerp__.py b/easy_my_coop/__openerp__.py index 652dce3..d9cef39 100644 --- a/easy_my_coop/__openerp__.py +++ b/easy_my_coop/__openerp__.py @@ -31,7 +31,6 @@ "partner_contact_address", "website", "website_recaptcha_reloaded", - "website_legal_page", "theme_light", "base_iban", "email_template_config", diff --git a/easy_my_coop/view/subscription_template.xml b/easy_my_coop/view/subscription_template.xml index 92956cd..d26608f 100644 --- a/easy_my_coop/view/subscription_template.xml +++ b/easy_my_coop/view/subscription_template.xml @@ -256,7 +256,7 @@ t-attf-value="#{data_policy_approved or ''}"/>
- +
@@ -532,7 +532,7 @@ t-attf-value="#{data_policy_approved or ''}"/>
- +
@@ -589,4 +589,11 @@ + + + +