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

[16.0][MIG] website_cookiebot: Migration to version 16.0 #1006

Merged
merged 7 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions setup/website_cookiebot/odoo/addons/website_cookiebot
6 changes: 6 additions & 0 deletions setup/website_cookiebot/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
111 changes: 111 additions & 0 deletions website_cookiebot/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
=================
Website Cookiebot
=================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/16.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-16-0/website-16-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/webui/builds.html?repo=OCA/website&target_branch=16.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:

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

.. figure:: https://raw.githubusercontent.com/OCA/website/16.0/website_cookiebot/static/description/screenshot.png
:alt: Cookiebot consent banner

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.

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/website/issues/new?body=module:%20website_cookiebot%0Aversion:%2016.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/16.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": "16.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.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.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
#: model_terms:website.page,arch_db:website_cookiebot.cookies_page
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"
71 changes: 71 additions & 0 deletions website_cookiebot/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# 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: 2020-05-19 19:15+0200\n"
"Last-Translator: <>\n"
"Language-Team: Trey <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: es\n"
"X-Generator: Poedit 2.0.6\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 ""

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.res_config_settings_view_form
msgid "Adds Cookiebot functionality"
msgstr "Integra la funcionalidad de Cookiebot y la RGPD"

#. 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
#: model_terms:website.page,arch_db:website_cookiebot.cookies_page
msgid "Cookie Declaration"
msgstr "Declaración de cookies"

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

#. module: website_cookiebot
#: model:ir.model.fields,field_description:website_cookiebot.field_res_config_settings__cookiebot_id
#: model:ir.model.fields,field_description:website_cookiebot.field_website__cookiebot_id
msgid "Cookiebot ID"
msgstr ""

#. 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,help:website_cookiebot.field_res_config_settings__cookiebot_id
#: model:ir.model.fields,help:website_cookiebot.field_website__cookiebot_id
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."

#. module: website_cookiebot
#: model_terms:ir.ui.view,arch_db:website_cookiebot.res_config_settings_view_form
msgid "Tracking ID"
msgstr "ID de seguimiento"

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