From d2280c1c00adeb86420865a94f57137ad44fac61 Mon Sep 17 00:00:00 2001 From: sbiosca-s73 Date: Thu, 15 Feb 2024 11:37:39 +0100 Subject: [PATCH] [17.0][MIG] website_crm_privacy_policy: Migration to 17.0 --- website_crm_privacy_policy/README.rst | 69 ++++++++++--------- website_crm_privacy_policy/__manifest__.py | 2 +- website_crm_privacy_policy/pyproject.toml | 3 + .../readme/CONTRIBUTORS.md | 11 +++ .../readme/CONTRIBUTORS.rst | 15 ---- website_crm_privacy_policy/readme/CREDITS.md | 10 +++ website_crm_privacy_policy/readme/CREDITS.rst | 11 --- .../readme/DESCRIPTION.md | 9 +++ .../readme/DESCRIPTION.rst | 8 --- .../readme/{USAGE.rst => USAGE.md} | 3 +- .../static/description/index.html | 30 ++++---- 11 files changed, 87 insertions(+), 84 deletions(-) create mode 100644 website_crm_privacy_policy/pyproject.toml create mode 100644 website_crm_privacy_policy/readme/CONTRIBUTORS.md delete mode 100644 website_crm_privacy_policy/readme/CONTRIBUTORS.rst create mode 100644 website_crm_privacy_policy/readme/CREDITS.md delete mode 100644 website_crm_privacy_policy/readme/CREDITS.rst create mode 100644 website_crm_privacy_policy/readme/DESCRIPTION.md delete mode 100644 website_crm_privacy_policy/readme/DESCRIPTION.rst rename website_crm_privacy_policy/readme/{USAGE.rst => USAGE.md} (80%) diff --git a/website_crm_privacy_policy/README.rst b/website_crm_privacy_policy/README.rst index d3c7f27ac3..fc948c559a 100644 --- a/website_crm_privacy_policy/README.rst +++ b/website_crm_privacy_policy/README.rst @@ -17,25 +17,26 @@ Website CRM privacy policy :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github - :target: https://github.com/OCA/website/tree/16.0/website_crm_privacy_policy + :target: https://github.com/OCA/website/tree/17.0/website_crm_privacy_policy :alt: OCA/website .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_crm_privacy_policy + :target: https://translation.odoo-community.org/projects/website-17-0/website-17-0-website_crm_privacy_policy :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module was written to add a checkbox to contact us form for user privacy -policy validation +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) +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. +website_form_require_legal, which allows to insert the explicit consent +to any form, including the contact us one. **Table of contents** @@ -45,7 +46,8 @@ including the contact us one. Usage ===== -Website editors can change easily any text of these pages using website builder +Website editors can change easily any text of these pages using website +builder Bug Tracker =========== @@ -53,7 +55,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -61,47 +63,46 @@ Credits ======= Authors -~~~~~~~ +------- * Trey * Tecnativa Contributors -~~~~~~~~~~~~ +------------ -* Jorge Camacho -* `Tecnativa `_: +- Jorge Camacho +- `Tecnativa `__: - * Antonio Espinosa - * Rafael Blasco - * Vicent Cubells - * Jairo Llopis - * Ernesto Tejeda - * Alexandre Díaz + - Antonio Espinosa + - Rafael Blasco + - Vicent Cubells + - Jairo Llopis + - Ernesto Tejeda + - Alexandre Díaz -* Bjorn Billen +- Bjorn Billen +- `Studio73 `__: -* `Studio73 `_: - - * Miguel Gandia + - Miguel Gandia Other credits -~~~~~~~~~~~~~ +------------- Icon ----- +~~~~ -Icon based on ```johnny-automatic-scales-of-justice.svg``` from -[Openclipart](https://openclipart.org/detail/26849/scales-of-justice) and -```jetxee-check-sign-and-cross-sign.svg``` from +Icon based on :literal:`\`johnny-automatic-scales-of-justice.svg` from +[Openclipart](https://openclipart.org/detail/26849/scales-of-justice) +and ``jetxee-check-sign-and-cross-sign.svg``\ \` from [Openclipart](https://openclipart.org/detail/11118/check-sign-and-cross-sign) -Thanks to: -* [johnny_automatic](https://openclipart.org/user-detail/johnny_automatic) -* [jetxee](https://openclipart.org/user-detail/jetxee) +Thanks to: \* +[johnny_automatic](https://openclipart.org/user-detail/johnny_automatic) +\* [jetxee](https://openclipart.org/user-detail/jetxee) Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -113,6 +114,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/website `_ project on GitHub. +This module is part of the `OCA/website `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/website_crm_privacy_policy/__manifest__.py b/website_crm_privacy_policy/__manifest__.py index c12cbacb9c..c53e721626 100644 --- a/website_crm_privacy_policy/__manifest__.py +++ b/website_crm_privacy_policy/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Website CRM privacy policy", "category": "Website", - "version": "16.0.2.0.0", + "version": "17.0.1.0.0", "website": "https://github.com/OCA/website", "author": "Trey, Tecnativa, Odoo Community Association (OCA)", "license": "AGPL-3", diff --git a/website_crm_privacy_policy/pyproject.toml b/website_crm_privacy_policy/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/website_crm_privacy_policy/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/website_crm_privacy_policy/readme/CONTRIBUTORS.md b/website_crm_privacy_policy/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..1645da4535 --- /dev/null +++ b/website_crm_privacy_policy/readme/CONTRIBUTORS.md @@ -0,0 +1,11 @@ +- Jorge Camacho \<\> +- [Tecnativa](https://www.tecnativa.com): + - Antonio Espinosa + - Rafael Blasco + - Vicent Cubells + - Jairo Llopis + - Ernesto Tejeda + - Alexandre Díaz +- Bjorn Billen \<\> +- [Studio73](https://www.studio73.es): + - Miguel Gandia diff --git a/website_crm_privacy_policy/readme/CONTRIBUTORS.rst b/website_crm_privacy_policy/readme/CONTRIBUTORS.rst deleted file mode 100644 index 5b5bc6def3..0000000000 --- a/website_crm_privacy_policy/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,15 +0,0 @@ -* Jorge Camacho -* `Tecnativa `_: - - * Antonio Espinosa - * Rafael Blasco - * Vicent Cubells - * Jairo Llopis - * Ernesto Tejeda - * Alexandre Díaz - -* Bjorn Billen - -* `Studio73 `_: - - * Miguel Gandia diff --git a/website_crm_privacy_policy/readme/CREDITS.md b/website_crm_privacy_policy/readme/CREDITS.md new file mode 100644 index 0000000000..4d70bdedaa --- /dev/null +++ b/website_crm_privacy_policy/readme/CREDITS.md @@ -0,0 +1,10 @@ +## Icon + +Icon based on `` `johnny-automatic-scales-of-justice.svg `` from +\[Openclipart\](https://openclipart.org/detail/26849/scales-of-justice) +and `jetxee-check-sign-and-cross-sign.svg`\` from +\[Openclipart\]() + +Thanks to: \* +\[johnny_automatic\]() +\* \[jetxee\]() diff --git a/website_crm_privacy_policy/readme/CREDITS.rst b/website_crm_privacy_policy/readme/CREDITS.rst deleted file mode 100644 index 0a704e7183..0000000000 --- a/website_crm_privacy_policy/readme/CREDITS.rst +++ /dev/null @@ -1,11 +0,0 @@ -Icon ----- - -Icon based on ```johnny-automatic-scales-of-justice.svg``` from -[Openclipart](https://openclipart.org/detail/26849/scales-of-justice) and -```jetxee-check-sign-and-cross-sign.svg``` from -[Openclipart](https://openclipart.org/detail/11118/check-sign-and-cross-sign) - -Thanks to: -* [johnny_automatic](https://openclipart.org/user-detail/johnny_automatic) -* [jetxee](https://openclipart.org/user-detail/jetxee) diff --git a/website_crm_privacy_policy/readme/DESCRIPTION.md b/website_crm_privacy_policy/readme/DESCRIPTION.md new file mode 100644 index 0000000000..a621180f9b --- /dev/null +++ b/website_crm_privacy_policy/readme/DESCRIPTION.md @@ -0,0 +1,9 @@ +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/readme/DESCRIPTION.rst b/website_crm_privacy_policy/readme/DESCRIPTION.rst deleted file mode 100644 index e70244d47e..0000000000 --- a/website_crm_privacy_policy/readme/DESCRIPTION.rst +++ /dev/null @@ -1,8 +0,0 @@ -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/readme/USAGE.rst b/website_crm_privacy_policy/readme/USAGE.md similarity index 80% rename from website_crm_privacy_policy/readme/USAGE.rst rename to website_crm_privacy_policy/readme/USAGE.md index 207ba6280f..3e564aab01 100644 --- a/website_crm_privacy_policy/readme/USAGE.rst +++ b/website_crm_privacy_policy/readme/USAGE.md @@ -1 +1,2 @@ -Website editors can change easily any text of these pages using website builder +Website editors can change easily any text of these pages using website +builder diff --git a/website_crm_privacy_policy/static/description/index.html b/website_crm_privacy_policy/static/description/index.html index 54d5042e3e..be59f2db35 100644 --- a/website_crm_privacy_policy/static/description/index.html +++ b/website_crm_privacy_policy/static/description/index.html @@ -369,13 +369,14 @@

Website CRM privacy policy

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:80239c49ee1328a572756988f65a53c3e7da636a9a617bed536e18c8aaaac073 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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)

+

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.

+website_form_require_legal, which allows to insert the explicit consent +to any form, including the contact us one.

Table of contents

    @@ -395,14 +396,15 @@

    Website CRM privacy policy

Usage

-

Website editors can change easily any text of these pages using website builder

+

Website editors can change easily any text of these pages using website +builder

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -438,12 +440,12 @@

Contributors

Other credits

Icon

-

Icon based on `johnny-automatic-scales-of-justice.svg` from -[Openclipart](https://openclipart.org/detail/26849/scales-of-justice) and -`jetxee-check-sign-and-cross-sign.svg` from +

Icon based on `johnny-automatic-scales-of-justice.svg from +[Openclipart](https://openclipart.org/detail/26849/scales-of-justice) +and jetxee-check-sign-and-cross-sign.svg` from [Openclipart](https://openclipart.org/detail/11118/check-sign-and-cross-sign)

-

Thanks to: -* [johnny_automatic](https://openclipart.org/user-detail/johnny_automatic) +

Thanks to: * +[johnny_automatic](https://openclipart.org/user-detail/johnny_automatic) * [jetxee](https://openclipart.org/user-detail/jetxee)

@@ -454,7 +456,7 @@

Maintainers

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

-

This module is part of the OCA/website project on GitHub.

+

This module is part of the OCA/website project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.