Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG][17.0] website_cookiebot #1044

Merged
merged 14 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 122 additions & 0 deletions website_cookiebot/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
=================
Website Cookiebot
=================

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

.. |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-AGPL--3-blue.png
: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/17.0/website_cookiebot
: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_cookiebot
: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 integrates Odoo website with
`Cookiebot <https://www.cookiebot.com/>`__, to ask for consent before
installing cookies on users' browsers.

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module, you need to:

1. Go to *Website > Configuration > Settings*
2. Under *Select the Website to Configure*, choose a website.
3. In the privacy section enable *Cookiebot* option.
4. Click on *\`How to configure Cookiebot
<*\ `https://cookiebot.com/goto/help\\>\\`\\\_\\ <https://cookiebot.com/goto/help\>\`\_\>`__\ *\ \_*.
5. Follow the instructions, except step 3 (do not insert the
``<script>`` tags, the module will do it for you).
6. Fill in your *Domain Group ID* (e.g.
``00000000-0000-0000-0000-000000000000``)
7. Click on the *Save* button.

⚠️ **This module will do nothing unless configured and linked with
Cookiebot.**

Usage
=====

To use this module, once configured for your website, you just need to
browse that website. You will see the Cookiebot consent banner, and a
*Cookies Policy* link in the footer.

|image1|

Remember that, if your browser is configured to block 3rd party cookies,
trackers or consent banners, you won't notice the change. Disable any of
those protections to experiment the benefits.

.. |image1| image:: https://raw.githubusercontent.com/OCA/website/17.0/website_cookiebot/static/description/screenshot.png

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_cookiebot%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
-------

* Trey (www.trey.es)
* Tecnativa

Contributors
------------

- `Trey <https://www.trey.es>`__:

- Jorge Camacho <[email protected]>
- Antonio González <[email protected]>

- `Tecnativa <https://www.tecnativa.com/>`__:

- Jairo Llopis
- Stefan Ungureanu
- Pilar Vargas

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_cookiebot>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions website_cookiebot/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import wizards
18 changes: 18 additions & 0 deletions website_cookiebot/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2020 Trey - Antonio González <[email protected]>
# Copyright 2021 Tecnativa - Jairo Llopis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Website Cookiebot",
"summary": "Ask for cookies consent connecting with Cookiebot",
"category": "Website",
"version": "17.0.1.0.0",
"author": "Trey (www.trey.es), Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/website",
"license": "AGPL-3",
"depends": ["website"],
"data": [
"templates/assets.xml",
"templates/website.xml",
"wizards/res_config_settings_views.xml",
],
}
102 changes: 102 additions & 0 deletions website_cookiebot/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_cookiebot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-01-28 17:44+0000\n"
"Last-Translator: Nils Coenen | NICO SOLUTIONS - ENGINEERING & IT <nils."
"[email protected]>\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.14.1\n"

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.res_config_settings_view_form
msgid "00000000-0000-0000-0000-000000000000"
msgstr ""

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.res_config_settings_view_form
msgid ""
"<i class=\"fa fa-arrow-right\"/>\n"
" How to configure Cookiebot."
msgstr ""
"<i class=\"fa fa-arrow-right\"/>\n"
" So konfigurieren Sie Cookiebot."

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.res_config_settings_view_form
msgid ""
"<span class=\"fa fa-lg fa-globe\" title=\"Values set here are website-"
"specific.\" groups=\"website.group_multi_website\"/>"
msgstr ""
"<span class=\"fa fa-lg fa-globe\" title=\"Die hier eingestellten Werte sind "
"websitespezifisch.\" groups=\"website.group_multi_website\"/>"

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.res_config_settings_view_form
msgid ""
"<span class=\"text-muted\">\n"
" Instead of step 3, paste here your "
"Domain Group ID.\n"
" </span>"
msgstr ""
"<span class=\"text-muted\">\n"
" Anstelle von Schritt 3 fügen Sie hier "
"Ihre Domänengruppen-ID ein.\n"
" </span>"

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.res_config_settings_view_form
msgid "Ask for consent on cookies usage"
msgstr "Bitten Sie um Zustimmung zur Verwendung von Cookies"

#. module: website_cookiebot
#: model:ir.model,name:website_cookiebot.model_res_config_settings
msgid "Config Settings"
msgstr "Konfigurationseinstellungen"

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.cookies
msgid "Cookie Declaration"
msgstr "Cookie-Erklärung"

#. module: website_cookiebot
#: model:ir.model.fields,field_description:website_cookiebot.field_res_config_settings__cookiebot_enabled
msgid "Cookiebot"
msgstr ""

#. module: website_cookiebot
#: model:ir.model.fields,field_description:website_cookiebot.field_website__cookiebot_dgid
msgid "Cookiebot Domain Group ID"
msgstr "Cookiebot Domänengruppen-ID"

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.layout_footer_copyright
msgid "Cookies Policy"
msgstr "Cookie-Richtlinie"

#. module: website_cookiebot
#: model:ir.model.fields,field_description:website_cookiebot.field_res_config_settings__cookiebot_dgid
msgid "Domain Group ID"
msgstr "Domänengruppen-ID"

#. module: website_cookiebot
#: model:ir.model.fields,help:website_cookiebot.field_res_config_settings__cookiebot_dgid
#: model:ir.model.fields,help:website_cookiebot.field_website__cookiebot_dgid
msgid "Get this code from Cookiebot to enable it on the website."
msgstr ""
"Holen Sie sich diesen Code von Cookiebot, um ihn auf der Website zu "
"aktivieren."

#. module: website_cookiebot
#: model:ir.model,name:website_cookiebot.model_website
msgid "Website"
msgstr "Webseite"
112 changes: 112 additions & 0 deletions website_cookiebot/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_cookiebot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-18 17:11+0000\n"
"PO-Revision-Date: 2023-09-20 17:50+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: Trey <[email protected]>\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: Weblate 4.17\n"
"X-Poedit-SourceCharset: UTF-8\n"

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.res_config_settings_view_form
msgid "00000000-0000-0000-0000-000000000000"
msgstr "00000000-0000-0000-0000-000000000000"

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.res_config_settings_view_form
msgid ""
"<i class=\"fa fa-arrow-right\"/>\n"
" How to configure Cookiebot."
msgstr ""
"<i class=\"fa fa-arrow-right\"/>\n"
" Cómo configurar Cookiebot."

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.res_config_settings_view_form
msgid ""
"<span class=\"fa fa-lg fa-globe\" title=\"Values set here are website-"
"specific.\" groups=\"website.group_multi_website\"/>"
msgstr ""
"<span class=\"fa fa-lg fa-globe\" title=\"Values set here are website-"
"specific.\" groups=\"website.group_multi_website\"/>"

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.res_config_settings_view_form
msgid ""
"<span class=\"text-muted\">\n"
" Instead of step 3, paste here your "
"Domain Group ID.\n"
" </span>"
msgstr ""
"<span class=\"text-muted\">\n"
" En lugar del paso 3, pegue aquí su ID de "
"grupo de dominio.\n"
" </span>"

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.res_config_settings_view_form
msgid "Ask for consent on cookies usage"
msgstr "Solicitar consentimiento sobre el uso de cookies"

#. module: website_cookiebot
#: model:ir.model,name:website_cookiebot.model_res_config_settings
msgid "Config Settings"
msgstr "Opciones de configuración"

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.cookies
msgid "Cookie Declaration"
msgstr "Declaración de cookies"

#. module: website_cookiebot
#: model:ir.model.fields,field_description:website_cookiebot.field_res_config_settings__cookiebot_enabled
msgid "Cookiebot"
msgstr "Cookiebot"

#. module: website_cookiebot
#: model:ir.model.fields,field_description:website_cookiebot.field_website__cookiebot_dgid
msgid "Cookiebot Domain Group ID"
msgstr "Cookiebot Dominio Grupo ID"

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.layout_footer_copyright
msgid "Cookies Policy"
msgstr "Política de cookies"

#. module: website_cookiebot
#: model:ir.model.fields,field_description:website_cookiebot.field_res_config_settings__cookiebot_dgid
msgid "Domain Group ID"
msgstr "ID de grupo de dominios"

#. module: website_cookiebot
#: model:ir.model.fields,help:website_cookiebot.field_res_config_settings__cookiebot_dgid
#: model:ir.model.fields,help:website_cookiebot.field_website__cookiebot_dgid
msgid "Get this code from Cookiebot to enable it on the website."
msgstr "Obtén este código de Cookiebot para habilitarlo en el sitio web."

#. module: website_cookiebot
#: model:ir.model,name:website_cookiebot.model_website
msgid "Website"
msgstr "Sitio web"

#~ msgid "Adds Cookiebot functionality"
#~ msgstr "Integra la funcionalidad de Cookiebot y la RGPD"

#~ msgid "This field holds the ID, needed for Cookiebot functionality."
#~ msgstr ""
#~ "Este campo contiene el ID de Cookiebot, necesario para el correcto "
#~ "funcionamiento de los scripts."

#~ msgid "Tracking ID"
#~ msgstr "ID de seguimiento"
Loading
Loading