Skip to content

Commit

Permalink
Merge PR #1014 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Nov 8, 2023
2 parents bd5f2c6 + 17e6bea commit a21bd6d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
6 changes: 5 additions & 1 deletion website_crm_privacy_policy/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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::
Expand Down
4 changes: 4 additions & 0 deletions website_crm_privacy_policy/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
5 changes: 4 additions & 1 deletion website_crm_privacy_policy/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,15 @@ <h1 class="title">Website CRM privacy policy</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a9ac84e2e5bb8ed3f100f920fa14e3661152196a38f7c902d9847620a4aff988
!! source digest: sha256:e2558f27464c7d60996bcab39946c4209f2ae0802ec6e26ca39294fe15d371c6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/website/tree/16.0/website_crm_privacy_policy"><img alt="OCA/website" src="https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_crm_privacy_policy"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/website&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module was written to add a checkbox to contact us form for user privacy
policy validation</p>
<p>Privacy policy is provided by Website legal page addon (website_legal_page)</p>
<p>This module is deprecated, as you can get the same effect using
<cite>website_form_require_legal</cite>, which allows to insert the explicit consent to any form,
including the contact us one.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down
4 changes: 1 addition & 3 deletions website_crm_privacy_policy/templates/contactus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
expr="//form//div/div/span[@id='s_website_form_result']/.."
position="before"
>
<div
class="form-group col-12 s_website_form_field s_website_form_required_custom"
>
<div class="form-group col-12">
<div class="form-check">
<input
type="checkbox"
Expand Down

0 comments on commit a21bd6d

Please sign in to comment.