diff --git a/website_cookiebot/__manifest__.py b/website_cookiebot/__manifest__.py index 37ee70dde1..95e13b0b38 100644 --- a/website_cookiebot/__manifest__.py +++ b/website_cookiebot/__manifest__.py @@ -5,7 +5,7 @@ "name": "Website Cookiebot", "summary": "Ask for cookies consent connecting with Cookiebot", "category": "Website", - "version": "17.0.1.0.0", + "version": "17.0.1.0.1", "author": "Trey (www.trey.es), Tecnativa, Odoo Community Association (OCA)", "website": "https://github.com/OCA/website", "license": "AGPL-3", diff --git a/website_cookiebot/models/website.py b/website_cookiebot/models/website.py index 4654117215..0cd3ebc3d6 100644 --- a/website_cookiebot/models/website.py +++ b/website_cookiebot/models/website.py @@ -11,3 +11,4 @@ class Website(models.Model): string="Cookiebot Domain Group ID", help="Get this code from Cookiebot to enable it on the website.", ) + cookiebot_enabled = fields.Boolean() diff --git a/website_cookiebot/templates/assets.xml b/website_cookiebot/templates/assets.xml index d84c8484d0..9c1e27e840 100644 --- a/website_cookiebot/templates/assets.xml +++ b/website_cookiebot/templates/assets.xml @@ -6,7 +6,9 @@ - +