-
-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
18 changed files
with
876 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
========================== | ||
Website Form Require Legal | ||
========================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:d42bd92c06b48ff759e04a63fcbed82512d602526159ec8b6e86111c1e6e789e | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html | ||
:alt: License: LGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github | ||
:target: https://github.com/OCA/website/tree/17.0/website_form_require_legal | ||
:alt: OCA/website | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/website-17-0/website-17-0-website_form_require_legal | ||
: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=17.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module adds the possibility to require confirm legal terms at | ||
frontend forms. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, you need to: | ||
|
||
- Edit any page in your website. | ||
- Add a form from the snippets. | ||
- Modify the parameters. | ||
- You will find the option "Legal terms acceptance". | ||
- If you select it you will be able to modify the text shown and the | ||
link to the page from the text editor. | ||
|
||
Note: Remember to change the terms and conditions link to redirect to | ||
the desired page. | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
This module is aimed to deprecate website_crm_privacy_policy and modules | ||
similar to this one. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/website/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 <https://github.com/OCA/website/issues/new?body=module:%20website_form_require_legal%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
------- | ||
|
||
* Tecnativa | ||
|
||
Contributors | ||
------------ | ||
|
||
- `Tecnativa <https://www.tecnativa.com>`__: | ||
|
||
- Carlos Roca | ||
|
||
- `NICO SOLUTIONS <https://www.nico-solutions.de>`__: | ||
|
||
- Nils Coenen | ||
|
||
Maintainers | ||
----------- | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
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 <https://github.com/OCA/website/tree/17.0/website_form_require_legal>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright 2023 Tecnativa - Carlos Roca | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). | ||
{ | ||
"name": "Website Form Require Legal", | ||
"summary": "Add possibility to require confirm legal terms.", | ||
"version": "17.0.1.0.0", | ||
"category": "Website", | ||
"license": "LGPL-3", | ||
"website": "https://github.com/OCA/website", | ||
"author": "Tecnativa, Odoo Community Association (OCA)", | ||
"application": False, | ||
"installable": True, | ||
"depends": ["web_editor", "website"], | ||
"data": ["views/snippets.xml"], | ||
"assets": { | ||
"website.assets_wysiwyg": [ | ||
"website_form_require_legal/static/src/js/options.esm.js", | ||
"website_form_require_legal/static/src/xml/website_form_editor.xml", | ||
], | ||
"web.assets_frontend": [ | ||
"website_form_require_legal/static/src/scss/website_form_legal.scss" | ||
], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * website_form_require_legal | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 15.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2023-06-20 11:08+0000\n" | ||
"Last-Translator: Nils Coenen <nils.coenen@nico-solutions.de>\n" | ||
"Language-Team: none\n" | ||
"Language: de\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 4.17\n" | ||
|
||
#. module: website_form_require_legal | ||
#. odoo-javascript | ||
#: code:addons/website_form_require_legal/static/src/xml/website_form_editor.xml:0 | ||
#, python-format | ||
msgid "Agree to" | ||
msgstr "Stimme zu" | ||
|
||
#. module: website_form_require_legal | ||
#: model_terms:ir.ui.view,arch_db:website_form_require_legal.s_website_form_options | ||
msgid "Legal terms acceptance" | ||
msgstr "Akzeptierung der rechtlichen Bedingungen" | ||
|
||
#. module: website_form_require_legal | ||
#. odoo-javascript | ||
#: code:addons/website_form_require_legal/static/src/xml/website_form_editor.xml:0 | ||
#, python-format | ||
msgid "You must agree before submitting." | ||
msgstr "Sie müssen vor dem Absenden zustimmen." | ||
|
||
#. module: website_form_require_legal | ||
#. odoo-javascript | ||
#: code:addons/website_form_require_legal/static/src/xml/website_form_editor.xml:0 | ||
#, python-format | ||
msgid "terms and conditions" | ||
msgstr "Geschäftsbedingungen" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * website_form_require_legal | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 15.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-03-09 15:06+0000\n" | ||
"PO-Revision-Date: 2023-03-09 16:09+0100\n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"Language: es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"X-Generator: Poedit 3.2.2\n" | ||
|
||
#. module: website_form_require_legal | ||
#. openerp-web | ||
#: code:addons/website_form_require_legal/static/src/xml/website_form_editor.xml:0 | ||
#, python-format | ||
msgid "Agree to" | ||
msgstr "Aceptar los" | ||
|
||
#. module: website_form_require_legal | ||
#: model_terms:ir.ui.view,arch_db:website_form_require_legal.s_website_form_options | ||
msgid "Legal terms acceptance" | ||
msgstr "Aceptación de los términos legales" | ||
|
||
#. module: website_form_require_legal | ||
#. openerp-web | ||
#: code:addons/website_form_require_legal/static/src/xml/website_form_editor.xml:0 | ||
#, python-format | ||
msgid "You must agree before submitting." | ||
msgstr "Debe estar de acuerdo antes de enviarlo." | ||
|
||
#. module: website_form_require_legal | ||
#. openerp-web | ||
#: code:addons/website_form_require_legal/static/src/xml/website_form_editor.xml:0 | ||
#, python-format | ||
msgid "terms and conditions" | ||
msgstr "términos y condiciones" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * website_form_require_legal | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2023-11-14 15:36+0000\n" | ||
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n" | ||
"Language-Team: none\n" | ||
"Language: it\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 4.17\n" | ||
|
||
#. module: website_form_require_legal | ||
#. odoo-javascript | ||
#: code:addons/website_form_require_legal/static/src/xml/website_form_editor.xml:0 | ||
#, python-format | ||
msgid "Agree to" | ||
msgstr "Accettare" | ||
|
||
#. module: website_form_require_legal | ||
#: model_terms:ir.ui.view,arch_db:website_form_require_legal.s_website_form_options | ||
msgid "Legal terms acceptance" | ||
msgstr "Accettazione termini legali" | ||
|
||
#. module: website_form_require_legal | ||
#. odoo-javascript | ||
#: code:addons/website_form_require_legal/static/src/xml/website_form_editor.xml:0 | ||
#, python-format | ||
msgid "You must agree before submitting." | ||
msgstr "È necessario accettare prima di inviare." | ||
|
||
#. module: website_form_require_legal | ||
#. odoo-javascript | ||
#: code:addons/website_form_require_legal/static/src/xml/website_form_editor.xml:0 | ||
#, python-format | ||
msgid "terms and conditions" | ||
msgstr "termini e condizioni" |
40 changes: 40 additions & 0 deletions
40
website_form_require_legal/i18n/website_form_require_legal.pot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * website_form_require_legal | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: website_form_require_legal | ||
#. odoo-javascript | ||
#: code:addons/website_form_require_legal/static/src/xml/website_form_editor.xml:0 | ||
#, python-format | ||
msgid "Agree to" | ||
msgstr "" | ||
|
||
#. module: website_form_require_legal | ||
#: model_terms:ir.ui.view,arch_db:website_form_require_legal.s_website_form_options | ||
msgid "Legal terms acceptance" | ||
msgstr "" | ||
|
||
#. module: website_form_require_legal | ||
#. odoo-javascript | ||
#: code:addons/website_form_require_legal/static/src/xml/website_form_editor.xml:0 | ||
#, python-format | ||
msgid "You must agree before submitting." | ||
msgstr "" | ||
|
||
#. module: website_form_require_legal | ||
#. odoo-javascript | ||
#: code:addons/website_form_require_legal/static/src/xml/website_form_editor.xml:0 | ||
#, python-format | ||
msgid "terms and conditions" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- [Tecnativa](https://www.tecnativa.com): | ||
- Carlos Roca | ||
- [NICO SOLUTIONS](https://www.nico-solutions.de): | ||
- Nils Coenen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This module adds the possibility to require confirm legal terms at | ||
frontend forms. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This module is aimed to deprecate website_crm_privacy_policy and modules | ||
similar to this one. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
To use this module, you need to: | ||
|
||
- Edit any page in your website. | ||
- Add a form from the snippets. | ||
- Modify the parameters. | ||
- You will find the option "Legal terms acceptance". | ||
- If you select it you will be able to modify the text shown and the | ||
link to the page from the text editor. | ||
|
||
Note: Remember to change the terms and conditions link to redirect to | ||
the desired page. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.