Skip to content

Commit

Permalink
[IMP] website_cookiebot: pre-commit stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
NICO-SOLUTIONS committed Mar 6, 2023
1 parent f110f2c commit c317bd8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ repos:
- id: pyupgrade
args: ["--keep-percent-format"]
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
name: isort except __init__.py
Expand Down
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,
)
2 changes: 1 addition & 1 deletion website_cookiebot/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Website Cookiebot",
"summary": "Ask for cookies consent connecting with Cookiebot",
"category": "Website",
"version": "15.0.1.0.0",
"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",
Expand Down
5 changes: 1 addition & 4 deletions website_cookiebot/wizards/res_config_settings_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="website.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath
expr="//div[@id='google_analytics_dashboard_setting']"
position="after"
>
<xpath expr="//div[@id='google_analytics_setting']" position="after">
<div class="col-xs-12 col-md-6 o_setting_box" id="cookiebot_setting">
<div class="o_setting_left_pane">
<field name="cookiebot_enabled" />
Expand Down

0 comments on commit c317bd8

Please sign in to comment.