From 4739d4dc926fe09d4eb0aafc428905396b6010c0 Mon Sep 17 00:00:00 2001 From: pilarvargas-tecnativa Date: Tue, 7 Nov 2023 12:51:12 +0100 Subject: [PATCH 1/2] [FIX] website_crm_privacy_policy: Fix editor compatibility The legal terms acceptance checkbox container had incompatible classes with the editor that caused a property access error. This prevented the text or link from being edited. This has been fixed to avoid incompatibilities with the editor itself and with other modules such as website_form_require_legal which adds the same functionality of accepting terms for forms. TT45834 --- website_crm_privacy_policy/templates/contactus.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/website_crm_privacy_policy/templates/contactus.xml b/website_crm_privacy_policy/templates/contactus.xml index 85669d0939..eed33c20a7 100644 --- a/website_crm_privacy_policy/templates/contactus.xml +++ b/website_crm_privacy_policy/templates/contactus.xml @@ -9,9 +9,7 @@ expr="//form//div/div/span[@id='s_website_form_result']/.." position="before" > -
+
Date: Thu, 16 Mar 2023 13:49:31 +0100 Subject: [PATCH 2/2] [IMP] website_crm_privacy_policy: Mark it as deprecated --- website_crm_privacy_policy/README.rst | 6 +++++- website_crm_privacy_policy/readme/DESCRIPTION.rst | 4 ++++ website_crm_privacy_policy/static/description/index.html | 5 ++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/website_crm_privacy_policy/README.rst b/website_crm_privacy_policy/README.rst index e3af21efbd..7156a63b05 100644 --- a/website_crm_privacy_policy/README.rst +++ b/website_crm_privacy_policy/README.rst @@ -7,7 +7,7 @@ Website CRM privacy policy !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:a9ac84e2e5bb8ed3f100f920fa14e3661152196a38f7c902d9847620a4aff988 + !! source digest: sha256:e2558f27464c7d60996bcab39946c4209f2ae0802ec6e26ca39294fe15d371c6 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -33,6 +33,10 @@ policy validation Privacy policy is provided by Website legal page addon (website_legal_page) +This module is deprecated, as you can get the same effect using +`website_form_require_legal`, which allows to insert the explicit consent to any form, +including the contact us one. + **Table of contents** .. contents:: diff --git a/website_crm_privacy_policy/readme/DESCRIPTION.rst b/website_crm_privacy_policy/readme/DESCRIPTION.rst index 45e86bbf5f..e70244d47e 100644 --- a/website_crm_privacy_policy/readme/DESCRIPTION.rst +++ b/website_crm_privacy_policy/readme/DESCRIPTION.rst @@ -2,3 +2,7 @@ This module was written to add a checkbox to contact us form for user privacy policy validation Privacy policy is provided by Website legal page addon (website_legal_page) + +This module is deprecated, as you can get the same effect using +`website_form_require_legal`, which allows to insert the explicit consent to any form, +including the contact us one. diff --git a/website_crm_privacy_policy/static/description/index.html b/website_crm_privacy_policy/static/description/index.html index 80d126c9ac..b56bd17116 100644 --- a/website_crm_privacy_policy/static/description/index.html +++ b/website_crm_privacy_policy/static/description/index.html @@ -367,12 +367,15 @@

Website CRM privacy policy

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:a9ac84e2e5bb8ed3f100f920fa14e3661152196a38f7c902d9847620a4aff988 +!! source digest: sha256:e2558f27464c7d60996bcab39946c4209f2ae0802ec6e26ca39294fe15d371c6 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/website Translate me on Weblate Try me on Runboat

This module was written to add a checkbox to contact us form for user privacy policy validation

Privacy policy is provided by Website legal page addon (website_legal_page)

+

This module is deprecated, as you can get the same effect using +website_form_require_legal, which allows to insert the explicit consent to any form, +including the contact us one.

Table of contents