From 36b20df291238103e3ac76c92ca604254ff75e6f Mon Sep 17 00:00:00 2001 From: cubells Date: Fri, 23 Dec 2016 07:54:24 +0100 Subject: [PATCH] [9.0] [MIG] website_sale_require_legal module --- website_sale_require_legal/README.rst | 10 ++++------ website_sale_require_legal/__init__.py | 3 ++- website_sale_require_legal/__openerp__.py | 11 +++-------- website_sale_require_legal/controllers/__init__.py | 3 ++- website_sale_require_legal/controllers/main.py | 3 ++- website_sale_require_legal/views/website_sale.xml | 6 ++---- 6 files changed, 15 insertions(+), 21 deletions(-) diff --git a/website_sale_require_legal/README.rst b/website_sale_require_legal/README.rst index 1f17a8fc5b..0d6f800a4c 100644 --- a/website_sale_require_legal/README.rst +++ b/website_sale_require_legal/README.rst @@ -8,7 +8,7 @@ Require accepting legal terms to checkout This module was written to extend the functionality of your website shop to support forcing the user to accept your legal advice, terms of use and privacy -policy, and allow you to obey some countries' laws. +policy, and allow you to comply with some countries' laws. Installation ============ @@ -33,7 +33,7 @@ To use this module, you need to: .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/113/8.0 + :target: https://runbot.odoo-community.org/runbot/113/9.0 Bug Tracker =========== @@ -41,10 +41,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `here `_. - +providing a detailed and welcomed feedback. Credits ======= @@ -54,6 +51,7 @@ Contributors * Rafael Blasco * Jairo Llopis +* Vicent Cubells Maintainer ---------- diff --git a/website_sale_require_legal/__init__.py b/website_sale_require_legal/__init__.py index 109563487c..6a1f61e2c9 100644 --- a/website_sale_require_legal/__init__.py +++ b/website_sale_require_legal/__init__.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- -# © 2015 Antiun Ingeniería, S.L. - Jairo Llopis +# Copyright 2015 Tecnativa - Jairo Llopis +# Copyright 2016 Tecnativa - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import controllers diff --git a/website_sale_require_legal/__openerp__.py b/website_sale_require_legal/__openerp__.py index ac052bf55c..fc51307514 100644 --- a/website_sale_require_legal/__openerp__.py +++ b/website_sale_require_legal/__openerp__.py @@ -1,10 +1,11 @@ # -*- coding: utf-8 -*- -# © 2015 Antiun Ingeniería, S.L. - Jairo Llopis +# Copyright 2015 Tecnativa - Jairo Llopis +# Copyright 2016 Tecnativa - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Require accepting legal terms to checkout", "summary": "Force the user to accept legal tems to buy in the web shop", - "version": "8.0.1.1.0", + "version": "9.0.1.0.0", "category": "Website", "website": "http://www.tecnativa.com", "author": "Antiun Ingeniería S.L., " @@ -13,10 +14,6 @@ "license": "AGPL-3", "application": False, "installable": True, - "external_dependencies": { - "python": [], - "bin": [], - }, "depends": [ "website_legal_page", "website_sale", @@ -24,6 +21,4 @@ "data": [ "views/website_sale.xml", ], - "demo": [ - ], } diff --git a/website_sale_require_legal/controllers/__init__.py b/website_sale_require_legal/controllers/__init__.py index c720b1f879..5c5db46b48 100644 --- a/website_sale_require_legal/controllers/__init__.py +++ b/website_sale_require_legal/controllers/__init__.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- -# © 2015 Antiun Ingeniería, S.L. - Jairo Llopis +# Copyright 2015 Tecnativa - Jairo Llopis +# Copyright 2016 Tecnativa - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import main diff --git a/website_sale_require_legal/controllers/main.py b/website_sale_require_legal/controllers/main.py index b2f882435a..f6c1e4b900 100644 --- a/website_sale_require_legal/controllers/main.py +++ b/website_sale_require_legal/controllers/main.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- -# © 2015 Antiun Ingeniería, S.L. - Jairo Llopis +# Copyright 2015 Tecnativa - Jairo Llopis +# Copyright 2016 Tecnativa - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp.http import request diff --git a/website_sale_require_legal/views/website_sale.xml b/website_sale_require_legal/views/website_sale.xml index 984d0e8131..99f40baf0b 100644 --- a/website_sale_require_legal/views/website_sale.xml +++ b/website_sale_require_legal/views/website_sale.xml @@ -1,6 +1,5 @@ - - + - - +