Skip to content

Commit

Permalink
[9.0] [MIG] website_sale_require_legal module
Browse files Browse the repository at this point in the history
* Updated README.rst
  • Loading branch information
cubells committed Nov 28, 2016
1 parent 2167b3a commit b6cfa82
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
8 changes: 3 additions & 5 deletions website_sale_require_legal/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,15 @@ 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
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/
e-commerce/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 <https://github.com/OCA/
e-commerce/issues/new?body=module:%20 website_sale_require_legal%0Aversion:%20
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

providing a detailed and welcomed feedback.

Credits
=======
Expand All @@ -54,6 +51,7 @@ Contributors

* Rafael Blasco <rafaelbn@antiun.com>
* Jairo Llopis <yajo.sk8@gmail.com>
* Vicent Cubells <vicent.cubells@tecnativa.com>

Maintainer
----------
Expand Down
3 changes: 2 additions & 1 deletion website_sale_require_legal/__init__.py
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion website_sale_require_legal/__openerp__.py
Original file line number Diff line number Diff line change
@@ -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).
{
"name": "Require accepting legal terms to checkout",
Expand Down
3 changes: 2 additions & 1 deletion website_sale_require_legal/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion website_sale_require_legal/controllers/main.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 2 additions & 4 deletions website_sale_require_legal/views/website_sale.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<odoo>

<template id="checkout" inherit_id="website_sale.checkout">
<xpath expr="//div[@class='js_shipping row mb16']" position="after">
Expand Down Expand Up @@ -30,5 +29,4 @@
</xpath>
</template>

</data>
</openerp>
</odoo>

0 comments on commit b6cfa82

Please sign in to comment.