Browse Source

[MIG] website_cookie_notice: Migrated to 11.0

pull/408/head
Nicolas JEUDY 1 year ago
parent
commit
d0808440ab
5 changed files with 5 additions and 9 deletions
  1. +1
    -0
      website_cookie_notice/README.rst
  2. +0
    -1
      website_cookie_notice/__init__.py
  3. +3
    -5
      website_cookie_notice/__manifest__.py
  4. +0
    -1
      website_cookie_notice/controllers/__init__.py
  5. +1
    -2
      website_cookie_notice/controllers/main.py

+ 1
- 0
website_cookie_notice/README.rst View File

@@ -68,6 +68,7 @@ Contributors
* Nicola Malcontenti <nicola.malcontenti@agilebg.com>
* Rafael Blasco <rafael.blasco@tecnativa.com>
* Jairo Llopis <jairo.llopis@tecnativa.com>
* Nicolas JEUDY <https://github.com/njeudy>

Maintainer
----------

+ 0
- 1
website_cookie_notice/__init__.py View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2015-2016 Lorenzo Battistini - Agile Business Group
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).


+ 3
- 5
website_cookie_notice/__manifest__.py View File

@@ -1,16 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright 2015-2016 Lorenzo Battistini - Agile Business Group
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
'name': 'Cookie notice',
'summary': 'Show cookie notice according to cookie law',
'version': '10.0.1.0.0',
'version': '11.0.1.0.0',
'category': 'Website',
'author': "Agile Business Group, "
"Tecnativa, "
"Nicolas JEUDY, "
"Odoo Community Association (OCA)",
'website': 'http://www.agilebg.com',
'website': 'https://github.com/OCA/website',
'license': 'AGPL-3',
'depends': [
'website_legal_page',
@@ -18,6 +18,4 @@
'data': [
'templates/website.xml',
],
'installable': True,
'auto_install': False,
}

+ 0
- 1
website_cookie_notice/controllers/__init__.py View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2015-2016 Lorenzo Battistini - Agile Business Group
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).


+ 1
- 2
website_cookie_notice/controllers/main.py View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2015-2016 Lorenzo Battistini - Agile Business Group
# Copyright 2015 Antiun Ingeniería S.L. <http://antiun.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
@@ -15,5 +14,5 @@ class CookieNotice(http.Controller):
http.request.session["accepted_cookies"] = True
http.request.env['ir.ui.view'].search([
('type', '=', 'qweb')
]).clear_caches()
]).clear_caches()
return {'result': 'ok'}

Loading…
Cancel
Save