Skip to content

Commit

Permalink
Merge PR #1016 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by tarteo
  • Loading branch information
OCA-git-bot committed Oct 10, 2024
2 parents 1f0d009 + 80264d5 commit 18d744d
Show file tree
Hide file tree
Showing 22 changed files with 1,051 additions and 0 deletions.
101 changes: 101 additions & 0 deletions website_cookiefirst/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
===================
Website Cookiefirst
===================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:9d58d91c5403f8bc612f25d6b2cfcbc2e3a5393f685d5845f8585480d3f17868
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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_cookiefirst
: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_cookiefirst
: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 GDPR through the functionality
of Cookiefirst (https://cookiefirst.com), you need to register your
website domain in Cookiefirst's portal.

**Table of contents**

.. contents::
:local:

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

To configure this module, you need to:

1. Go to **Website > Configuration > Settings**
2. Search 'Cookiefirst' option.
3. Fill in your 'Cookiefirst ID' (e.g.
'00000000-0000-0000-0000-000000000000').
4. Click on "Save" button.

⚠️ **Please note: if another cookie consent solution is installed (e.g.
Cookiebot), the execution of the Cookiefirst script will be prevented.
Make sure that no other cookie consent solution is installed when using
the Cookiefirst module.**

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

* Studio73

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

- `Studio73 <https://www.studio73.es>`__:

- Ioan Galan <[email protected]>

- `NICO SOLUTIONS - ENGINEERING &
IT <https://www.nico-solutions.de>`__:

- Nils Coenen [email protected]

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions website_cookiefirst/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions website_cookiefirst/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2021 Studio73 - Ioan Galan <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Website Cookiefirst",
"summary": "Cookiefirst integration",
"category": "Website",
"version": "17.0.1.0.0",
"author": "Studio73, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/website",
"license": "AGPL-3",
"depends": ["website"],
"data": [
"data/cookies_policy.xml",
"views/website_template.xml",
"views/res_config_settings_views.xml",
],
"installable": True,
}
36 changes: 36 additions & 0 deletions website_cookiefirst/data/cookies_policy.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="cookies" model="ir.ui.view">
<field name="name">Cookies Policy</field>
<field name="type">qweb</field>
<field name="key">website.cookies</field>
<field name="arch" type="xml">
<t name="Cookies Policy" t-name="website.cookies">
<t t-call="website.layout">
<div id="wrap">
<div class="oe_structure">
<section data-snippet-id="title">
<h1 class="text-center mt-4">Cookie Declaration</h1>
</section>
</div>
<section class="mb-5 mt-5">
<div class="container">
<div class="row">
<div class="col-12">
<div id="cookiefirst-policy-page" />
</div>
</div>
</div>
</section>
<div class="oe_structure" />
</div>
</t>
</t>
</field>
</record>
<record id="cookies_page" model="website.page">
<field name="url">/legal/cookies-policy</field>
<field name="website_published">True</field>
<field name="view_id" ref="cookies" />
</record>
</odoo>
71 changes: 71 additions & 0 deletions website_cookiefirst/i18n/de.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_cookiefirst
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-07-07 18:09+0000\n"
"Last-Translator: Nils Coenen <[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.17\n"

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

#. module: website_cookiefirst
#: model_terms:ir.ui.view,arch_db:website_cookiefirst.res_config_settings_view_form
msgid "Add Cookiefirst functionality"
msgstr "Cookiefirst-Funktionalität hinzufügen"

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

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

#. module: website_cookiefirst
#: model:ir.model.fields,field_description:website_cookiefirst.field_res_config_settings__cookiefirst_identifier
#: model:ir.model.fields,field_description:website_cookiefirst.field_website__cookiefirst_identifier
msgid "Cookiefirst ID"
msgstr "Cookiefirst-ID"

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

#. module: website_cookiefirst
#: model:ir.model.fields,help:website_cookiefirst.field_res_config_settings__cookiefirst_identifier
#: model:ir.model.fields,help:website_cookiefirst.field_website__cookiefirst_identifier
msgid "This field holds the ID, needed for Cookiefirst functionality."
msgstr ""
"Dieses Feld enthält die ID, die für die Cookiefirst-Funktionalität benötigt "
"wird."

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

#. module: website_cookiefirst
#: model:ir.model.fields,field_description:website_cookiefirst.field_res_config_settings__cookiefirst_enabled
msgid "Use Cookiefirst"
msgstr "Verwenden Sie Cookiefirst"

#. module: website_cookiefirst
#: model:ir.model,name:website_cookiefirst.model_website
msgid "Website"
msgstr "Webseite"
70 changes: 70 additions & 0 deletions website_cookiefirst/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_cookiefirst
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-09-20 17:50+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\n"
"Language: es\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_cookiefirst
#: model_terms:ir.ui.view,arch_db:website_cookiefirst.res_config_settings_view_form
msgid "00000000-0000-0000-0000-000000000000"
msgstr "00000000-0000-0000-0000-000000000000"

#. module: website_cookiefirst
#: model_terms:ir.ui.view,arch_db:website_cookiefirst.res_config_settings_view_form
msgid "Add Cookiefirst functionality"
msgstr "Añadir funcionalidad de Cookiefirst"

#. module: website_cookiefirst
#: model:ir.model,name:website_cookiefirst.model_res_config_settings
msgid "Config Settings"
msgstr "Configuración de Ajustes"

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

#. module: website_cookiefirst
#: model:ir.model.fields,field_description:website_cookiefirst.field_res_config_settings__cookiefirst_identifier
#: model:ir.model.fields,field_description:website_cookiefirst.field_website__cookiefirst_identifier
msgid "Cookiefirst ID"
msgstr "ID Cookiefirst"

#. module: website_cookiefirst
#: model_terms:ir.ui.view,arch_db:website_cookiefirst.footer_copyright_company_name
msgid "Cookies Policy"
msgstr "Política de Cookies"

#. module: website_cookiefirst
#: model:ir.model.fields,help:website_cookiefirst.field_res_config_settings__cookiefirst_identifier
#: model:ir.model.fields,help:website_cookiefirst.field_website__cookiefirst_identifier
msgid "This field holds the ID, needed for Cookiefirst functionality."
msgstr ""
"Este campo contiene el ID, necesario para la funcionalidad Cookiefirst."

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

#. module: website_cookiefirst
#: model:ir.model.fields,field_description:website_cookiefirst.field_res_config_settings__cookiefirst_enabled
msgid "Use Cookiefirst"
msgstr "Utiliza Cookiefirst"

#. module: website_cookiefirst
#: model:ir.model,name:website_cookiefirst.model_website
msgid "Website"
msgstr "Página Web"
70 changes: 70 additions & 0 deletions website_cookiefirst/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_cookiefirst
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-12-27 17:44+0000\n"
"Last-Translator: mymage <[email protected]>\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.14.1\n"

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

#. module: website_cookiefirst
#: model_terms:ir.ui.view,arch_db:website_cookiefirst.res_config_settings_view_form
msgid "Add Cookiefirst functionality"
msgstr "Aggiungere la funzionalità Cookiefirst"

#. module: website_cookiefirst
#: model:ir.model,name:website_cookiefirst.model_res_config_settings
msgid "Config Settings"
msgstr "Impostazioni configurazione"

#. module: website_cookiefirst
#: model_terms:ir.ui.view,arch_db:website_cookiefirst.cookies
msgid "Cookie Declaration"
msgstr "Dichiarazione cookie"

#. module: website_cookiefirst
#: model:ir.model.fields,field_description:website_cookiefirst.field_res_config_settings__cookiefirst_identifier
#: model:ir.model.fields,field_description:website_cookiefirst.field_website__cookiefirst_identifier
msgid "Cookiefirst ID"
msgstr "ID Cookiefirst"

#. module: website_cookiefirst
#: model_terms:ir.ui.view,arch_db:website_cookiefirst.footer_copyright_company_name
msgid "Cookies Policy"
msgstr "Politica dei cookie"

#. module: website_cookiefirst
#: model:ir.model.fields,help:website_cookiefirst.field_res_config_settings__cookiefirst_identifier
#: model:ir.model.fields,help:website_cookiefirst.field_website__cookiefirst_identifier
msgid "This field holds the ID, needed for Cookiefirst functionality."
msgstr ""
"Questo campo memorizza l'ID, richiesto per la funzionalità Cookiefirst."

#. module: website_cookiefirst
#: model_terms:ir.ui.view,arch_db:website_cookiefirst.res_config_settings_view_form
msgid "Tracking ID"
msgstr "ID tracciatura"

#. module: website_cookiefirst
#: model:ir.model.fields,field_description:website_cookiefirst.field_res_config_settings__cookiefirst_enabled
msgid "Use Cookiefirst"
msgstr "Utilizza Cookiefirst"

#. module: website_cookiefirst
#: model:ir.model,name:website_cookiefirst.model_website
msgid "Website"
msgstr "Sito web"
Loading

0 comments on commit 18d744d

Please sign in to comment.