From 64281611b46fb468dafef96a3446aee3329662bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Taymans?= Date: Wed, 30 Mar 2022 16:36:49 +0200 Subject: [PATCH 01/11] [ADD] website_sale_delivery_product_restriction --- .../README.rst | 62 +++ .../__init__.py | 1 + .../__manifest__.py | 19 + .../models/__init__.py | 1 + .../models/sale_order.py | 14 + .../readme/CONTRIBUTORS.rst | 3 + .../readme/DESCRIPTION.rst | 4 + .../static/description/index.html | 420 ++++++++++++++++++ 8 files changed, 524 insertions(+) create mode 100644 website_sale_delivery_product_restriction/README.rst create mode 100644 website_sale_delivery_product_restriction/__init__.py create mode 100644 website_sale_delivery_product_restriction/__manifest__.py create mode 100644 website_sale_delivery_product_restriction/models/__init__.py create mode 100644 website_sale_delivery_product_restriction/models/sale_order.py create mode 100644 website_sale_delivery_product_restriction/readme/CONTRIBUTORS.rst create mode 100644 website_sale_delivery_product_restriction/readme/DESCRIPTION.rst create mode 100644 website_sale_delivery_product_restriction/static/description/index.html diff --git a/website_sale_delivery_product_restriction/README.rst b/website_sale_delivery_product_restriction/README.rst new file mode 100644 index 0000000..32856a2 --- /dev/null +++ b/website_sale_delivery_product_restriction/README.rst @@ -0,0 +1,62 @@ +========================================= +Website Sale Delivery Product Restriction +========================================= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Fcie--e--commerce-lightgray.png?logo=github + :target: https://github.com/coopiteasy/cie-e-commerce/tree/12.0/website_sale_delivery_product_restriction + :alt: coopiteasy/cie-e-commerce + +|badge1| |badge2| |badge3| + +This is a complement of the module `delivery_product_restriction` to +bring it's features into the eCommerce. It allows some product to be +shipped only by some delivery carrier. If such a product is found in a +SO then the SO can only be shipped via these delivery carrier. + +**Table of contents** + +.. contents:: + :local: + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Coop IT Easy SCRLfs + +Contributors +~~~~~~~~~~~~ + +* `Coop IT Easy SCRLfs `_: + + * Rémy Taymans + +Maintainers +~~~~~~~~~~~ + +This module is part of the `coopiteasy/cie-e-commerce `_ project on GitHub. + +You are welcome to contribute. diff --git a/website_sale_delivery_product_restriction/__init__.py b/website_sale_delivery_product_restriction/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/website_sale_delivery_product_restriction/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/website_sale_delivery_product_restriction/__manifest__.py b/website_sale_delivery_product_restriction/__manifest__.py new file mode 100644 index 0000000..2d18fc9 --- /dev/null +++ b/website_sale_delivery_product_restriction/__manifest__.py @@ -0,0 +1,19 @@ +# Copyright 2022 Coop IT Easy SCRLfs +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Website Sale Delivery Product Restriction", + "summary": """ + Allow some product to be shipped only by some delivery carrier and also on eCommerce.""", + "version": "12.0.1.0.0", + "category": "Website", + "website": "https://coopiteasy.be", + "author": "Coop IT Easy SCRLfs", + "license": "AGPL-3", + "application": False, + "depends": ["delivery_product_restriction"], + "excludes": [], + "data": [], + "demo": [], + "qweb": [], +} diff --git a/website_sale_delivery_product_restriction/models/__init__.py b/website_sale_delivery_product_restriction/models/__init__.py new file mode 100644 index 0000000..6aacb75 --- /dev/null +++ b/website_sale_delivery_product_restriction/models/__init__.py @@ -0,0 +1 @@ +from . import sale_order diff --git a/website_sale_delivery_product_restriction/models/sale_order.py b/website_sale_delivery_product_restriction/models/sale_order.py new file mode 100644 index 0000000..0683b59 --- /dev/null +++ b/website_sale_delivery_product_restriction/models/sale_order.py @@ -0,0 +1,14 @@ +# Copyright 2022 Coop IT Easy SCRLfs +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import models + + +class SaleOrder(models.Model): + + _inherit = "sale.order" + + def _get_delivery_methods(self): + return self.available_carrier_ids.filtered( + lambda c: c.website_published + ) diff --git a/website_sale_delivery_product_restriction/readme/CONTRIBUTORS.rst b/website_sale_delivery_product_restriction/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..5a19903 --- /dev/null +++ b/website_sale_delivery_product_restriction/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* `Coop IT Easy SCRLfs `_: + + * Rémy Taymans diff --git a/website_sale_delivery_product_restriction/readme/DESCRIPTION.rst b/website_sale_delivery_product_restriction/readme/DESCRIPTION.rst new file mode 100644 index 0000000..5757fb1 --- /dev/null +++ b/website_sale_delivery_product_restriction/readme/DESCRIPTION.rst @@ -0,0 +1,4 @@ +This is a complement of the module `delivery_product_restriction` to +bring it's features into the eCommerce. It allows some product to be +shipped only by some delivery carrier. If such a product is found in a +SO then the SO can only be shipped via these delivery carrier. diff --git a/website_sale_delivery_product_restriction/static/description/index.html b/website_sale_delivery_product_restriction/static/description/index.html new file mode 100644 index 0000000..9c13b8c --- /dev/null +++ b/website_sale_delivery_product_restriction/static/description/index.html @@ -0,0 +1,420 @@ + + + + + + +Website Sale Delivery Product Restriction + + + +
+

Website Sale Delivery Product Restriction

+ + +

Beta License: AGPL-3 coopiteasy/cie-e-commerce

+

This is a complement of the module delivery_product_restriction to +bring it’s features into the eCommerce. It allows some product to be +shipped only by some delivery carrier. If such a product is found in a +SO then the SO can only be shipped via these delivery carrier.

+

Table of contents

+ +
+

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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Coop IT Easy SCRLfs
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is part of the coopiteasy/cie-e-commerce project on GitHub.

+

You are welcome to contribute.

+
+
+
+ + From bf7bcfe2c5a2258bfc3f83e55abba1d39ac2e824 Mon Sep 17 00:00:00 2001 From: Carmen Bianca Bakker Date: Wed, 29 Jun 2022 11:33:26 +0200 Subject: [PATCH 02/11] =?UTF-8?q?[FIX]=20SCRLfs=20=E2=86=92=20SC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Carmen Bianca Bakker --- website_sale_delivery_product_restriction/README.rst | 4 ++-- website_sale_delivery_product_restriction/__manifest__.py | 4 ++-- .../models/sale_order.py | 2 +- .../readme/CONTRIBUTORS.rst | 2 +- .../static/description/index.html | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/website_sale_delivery_product_restriction/README.rst b/website_sale_delivery_product_restriction/README.rst index 32856a2..9cc82d1 100644 --- a/website_sale_delivery_product_restriction/README.rst +++ b/website_sale_delivery_product_restriction/README.rst @@ -45,12 +45,12 @@ Credits Authors ~~~~~~~ -* Coop IT Easy SCRLfs +* Coop IT Easy SC Contributors ~~~~~~~~~~~~ -* `Coop IT Easy SCRLfs `_: +* `Coop IT Easy SC `_: * Rémy Taymans diff --git a/website_sale_delivery_product_restriction/__manifest__.py b/website_sale_delivery_product_restriction/__manifest__.py index 2d18fc9..0cc4550 100644 --- a/website_sale_delivery_product_restriction/__manifest__.py +++ b/website_sale_delivery_product_restriction/__manifest__.py @@ -1,4 +1,4 @@ -# Copyright 2022 Coop IT Easy SCRLfs +# Copyright 2022 Coop IT Easy SC # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { @@ -8,7 +8,7 @@ "version": "12.0.1.0.0", "category": "Website", "website": "https://coopiteasy.be", - "author": "Coop IT Easy SCRLfs", + "author": "Coop IT Easy SC", "license": "AGPL-3", "application": False, "depends": ["delivery_product_restriction"], diff --git a/website_sale_delivery_product_restriction/models/sale_order.py b/website_sale_delivery_product_restriction/models/sale_order.py index 0683b59..ea763d2 100644 --- a/website_sale_delivery_product_restriction/models/sale_order.py +++ b/website_sale_delivery_product_restriction/models/sale_order.py @@ -1,4 +1,4 @@ -# Copyright 2022 Coop IT Easy SCRLfs +# Copyright 2022 Coop IT Easy SC # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models diff --git a/website_sale_delivery_product_restriction/readme/CONTRIBUTORS.rst b/website_sale_delivery_product_restriction/readme/CONTRIBUTORS.rst index 5a19903..31498d2 100644 --- a/website_sale_delivery_product_restriction/readme/CONTRIBUTORS.rst +++ b/website_sale_delivery_product_restriction/readme/CONTRIBUTORS.rst @@ -1,3 +1,3 @@ -* `Coop IT Easy SCRLfs `_: +* `Coop IT Easy SC `_: * Rémy Taymans diff --git a/website_sale_delivery_product_restriction/static/description/index.html b/website_sale_delivery_product_restriction/static/description/index.html index 9c13b8c..b988461 100644 --- a/website_sale_delivery_product_restriction/static/description/index.html +++ b/website_sale_delivery_product_restriction/static/description/index.html @@ -397,13 +397,13 @@

Credits

Authors

    -
  • Coop IT Easy SCRLfs
  • +
  • Coop IT Easy SC

Contributors

    -
  • Coop IT Easy SCRLfs:
      +
    • Coop IT Easy SC:
      • Rémy Taymans
    • From 804de6f54cfad9300ce998ddc876007bcfdb1dae Mon Sep 17 00:00:00 2001 From: Carmen Bianca Bakker Date: Tue, 30 Aug 2022 10:44:40 +0200 Subject: [PATCH 03/11] Run pre-commit Signed-off-by: Carmen Bianca Bakker --- .../odoo/addons/website_sale_delivery_product_restriction | 1 + setup/website_sale_delivery_product_restriction/setup.py | 6 ++++++ website_sale_delivery_product_restriction/__manifest__.py | 3 ++- .../models/sale_order.py | 4 +--- 4 files changed, 10 insertions(+), 4 deletions(-) create mode 120000 setup/website_sale_delivery_product_restriction/odoo/addons/website_sale_delivery_product_restriction create mode 100644 setup/website_sale_delivery_product_restriction/setup.py diff --git a/setup/website_sale_delivery_product_restriction/odoo/addons/website_sale_delivery_product_restriction b/setup/website_sale_delivery_product_restriction/odoo/addons/website_sale_delivery_product_restriction new file mode 120000 index 0000000..321671c --- /dev/null +++ b/setup/website_sale_delivery_product_restriction/odoo/addons/website_sale_delivery_product_restriction @@ -0,0 +1 @@ +../../../../website_sale_delivery_product_restriction \ No newline at end of file diff --git a/setup/website_sale_delivery_product_restriction/setup.py b/setup/website_sale_delivery_product_restriction/setup.py new file mode 100644 index 0000000..28c57bb --- /dev/null +++ b/setup/website_sale_delivery_product_restriction/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/website_sale_delivery_product_restriction/__manifest__.py b/website_sale_delivery_product_restriction/__manifest__.py index 0cc4550..c613924 100644 --- a/website_sale_delivery_product_restriction/__manifest__.py +++ b/website_sale_delivery_product_restriction/__manifest__.py @@ -4,7 +4,8 @@ { "name": "Website Sale Delivery Product Restriction", "summary": """ - Allow some product to be shipped only by some delivery carrier and also on eCommerce.""", + Allow some product to be shipped only by some delivery carrier and also + on eCommerce.""", "version": "12.0.1.0.0", "category": "Website", "website": "https://coopiteasy.be", diff --git a/website_sale_delivery_product_restriction/models/sale_order.py b/website_sale_delivery_product_restriction/models/sale_order.py index ea763d2..5cc4d9b 100644 --- a/website_sale_delivery_product_restriction/models/sale_order.py +++ b/website_sale_delivery_product_restriction/models/sale_order.py @@ -9,6 +9,4 @@ class SaleOrder(models.Model): _inherit = "sale.order" def _get_delivery_methods(self): - return self.available_carrier_ids.filtered( - lambda c: c.website_published - ) + return self.available_carrier_ids.filtered(lambda c: c.website_published) From 5806a153b9d027830b6a88d8cfe29a18b2aa41dc Mon Sep 17 00:00:00 2001 From: oca-ci Date: Tue, 30 Aug 2022 09:10:18 +0000 Subject: [PATCH 04/11] [UPD] Update website_sale_delivery_product_restriction.pot --- ...site_sale_delivery_product_restriction.pot | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 website_sale_delivery_product_restriction/i18n/website_sale_delivery_product_restriction.pot diff --git a/website_sale_delivery_product_restriction/i18n/website_sale_delivery_product_restriction.pot b/website_sale_delivery_product_restriction/i18n/website_sale_delivery_product_restriction.pot new file mode 100644 index 0000000..8930cc5 --- /dev/null +++ b/website_sale_delivery_product_restriction/i18n/website_sale_delivery_product_restriction.pot @@ -0,0 +1,20 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_sale_delivery_product_restriction +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: website_sale_delivery_product_restriction +#: model:ir.model,name:website_sale_delivery_product_restriction.model_sale_order +msgid "Sale Order" +msgstr "" + From 5ca2d227f8d2f2add1a4316bfe240b592e8a0bb9 Mon Sep 17 00:00:00 2001 From: Github GRAP Bot Date: Fri, 15 Dec 2023 14:48:00 +0000 Subject: [PATCH 05/11] [BOT] post-merge updates --- website_sale_delivery_product_restriction/README.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/website_sale_delivery_product_restriction/README.rst b/website_sale_delivery_product_restriction/README.rst index 9cc82d1..5b0fa50 100644 --- a/website_sale_delivery_product_restriction/README.rst +++ b/website_sale_delivery_product_restriction/README.rst @@ -2,10 +2,13 @@ Website Sale Delivery Product Restriction ========================================= -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:0b373bb3bdfa5915f7fec1ab97dbf50c792f703e9a946a8a5d34e5e06a68d354 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -17,7 +20,7 @@ Website Sale Delivery Product Restriction :target: https://github.com/coopiteasy/cie-e-commerce/tree/12.0/website_sale_delivery_product_restriction :alt: coopiteasy/cie-e-commerce -|badge1| |badge2| |badge3| +|badge1| |badge2| |badge3| This is a complement of the module `delivery_product_restriction` to bring it's features into the eCommerce. It allows some product to be @@ -34,7 +37,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 +If you spotted it first, help us to smash it by providing a detailed and welcomed `feedback `_. Do not contact contributors directly about support or help with technical issues. From f6df04457d4856502cf38b343a8bd991561db98b Mon Sep 17 00:00:00 2001 From: hugues de keyzer Date: Fri, 13 Dec 2024 16:30:36 +0100 Subject: [PATCH 06/11] [MIG] website_sale_delivery_product_restriction: migration to 13.0 --- .../__manifest__.py | 19 +++++++++---------- .../models/sale_order.py | 8 ++++++-- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/website_sale_delivery_product_restriction/__manifest__.py b/website_sale_delivery_product_restriction/__manifest__.py index c613924..74d0034 100644 --- a/website_sale_delivery_product_restriction/__manifest__.py +++ b/website_sale_delivery_product_restriction/__manifest__.py @@ -3,18 +3,17 @@ { "name": "Website Sale Delivery Product Restriction", - "summary": """ - Allow some product to be shipped only by some delivery carrier and also - on eCommerce.""", - "version": "12.0.1.0.0", + "summary": ( + "Allow some product to be shipped only by some delivery carrier and " + "also on eCommerce" + ), + "version": "13.0.1.0.0", "category": "Website", "website": "https://coopiteasy.be", "author": "Coop IT Easy SC", "license": "AGPL-3", - "application": False, - "depends": ["delivery_product_restriction"], - "excludes": [], - "data": [], - "demo": [], - "qweb": [], + "depends": [ + "delivery_product_restriction", + "website_sale_delivery", + ], } diff --git a/website_sale_delivery_product_restriction/models/sale_order.py b/website_sale_delivery_product_restriction/models/sale_order.py index 5cc4d9b..f1e4bfd 100644 --- a/website_sale_delivery_product_restriction/models/sale_order.py +++ b/website_sale_delivery_product_restriction/models/sale_order.py @@ -5,8 +5,12 @@ class SaleOrder(models.Model): - _inherit = "sale.order" def _get_delivery_methods(self): - return self.available_carrier_ids.filtered(lambda c: c.website_published) + products = list(self.order_line.mapped("product_id")) + return ( + super() + ._get_delivery_methods() + .filtered(lambda c: c._can_be_used_to_deliver_products(products)) + ) From a81e6be87815a2e50c3866d7b43b74611610e996 Mon Sep 17 00:00:00 2001 From: hugues de keyzer Date: Fri, 13 Dec 2024 16:32:31 +0100 Subject: [PATCH 07/11] [MIG] website_sale_delivery_product_restriction: migration to 14.0 --- website_sale_delivery_product_restriction/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website_sale_delivery_product_restriction/__manifest__.py b/website_sale_delivery_product_restriction/__manifest__.py index 74d0034..83ead0f 100644 --- a/website_sale_delivery_product_restriction/__manifest__.py +++ b/website_sale_delivery_product_restriction/__manifest__.py @@ -7,7 +7,7 @@ "Allow some product to be shipped only by some delivery carrier and " "also on eCommerce" ), - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "category": "Website", "website": "https://coopiteasy.be", "author": "Coop IT Easy SC", From 68d5d71094bdc96f89334e8ec1338d2f3443c84c Mon Sep 17 00:00:00 2001 From: hugues de keyzer Date: Fri, 13 Dec 2024 16:32:38 +0100 Subject: [PATCH 08/11] [MIG] website_sale_delivery_product_restriction: migration to 15.0 --- website_sale_delivery_product_restriction/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website_sale_delivery_product_restriction/__manifest__.py b/website_sale_delivery_product_restriction/__manifest__.py index 83ead0f..836a5c8 100644 --- a/website_sale_delivery_product_restriction/__manifest__.py +++ b/website_sale_delivery_product_restriction/__manifest__.py @@ -7,7 +7,7 @@ "Allow some product to be shipped only by some delivery carrier and " "also on eCommerce" ), - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "category": "Website", "website": "https://coopiteasy.be", "author": "Coop IT Easy SC", From 2833fadd9df7f1a86a735dcc9c3f47c1bdad455d Mon Sep 17 00:00:00 2001 From: hugues de keyzer Date: Fri, 13 Dec 2024 16:36:24 +0100 Subject: [PATCH 09/11] [MIG] website_sale_delivery_product_restriction: migration to 16.0 --- website_sale_delivery_product_restriction/__manifest__.py | 2 +- .../models/sale_order.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/website_sale_delivery_product_restriction/__manifest__.py b/website_sale_delivery_product_restriction/__manifest__.py index 836a5c8..ff80061 100644 --- a/website_sale_delivery_product_restriction/__manifest__.py +++ b/website_sale_delivery_product_restriction/__manifest__.py @@ -7,7 +7,7 @@ "Allow some product to be shipped only by some delivery carrier and " "also on eCommerce" ), - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "category": "Website", "website": "https://coopiteasy.be", "author": "Coop IT Easy SC", diff --git a/website_sale_delivery_product_restriction/models/sale_order.py b/website_sale_delivery_product_restriction/models/sale_order.py index f1e4bfd..b23e3c6 100644 --- a/website_sale_delivery_product_restriction/models/sale_order.py +++ b/website_sale_delivery_product_restriction/models/sale_order.py @@ -7,6 +7,11 @@ class SaleOrder(models.Model): _inherit = "sale.order" + # another way would be to override + # delivery.carrier._is_available_for_order() (defined in the delivery + # module and called by sale.order._get_delivery_methods() in the + # website_sale_delivery module), but this would have to map the products + # for each delivery.carrier, so this is more optimal. def _get_delivery_methods(self): products = list(self.order_line.mapped("product_id")) return ( From 4d3d756c339fe69d117da89414ec18854810de2a Mon Sep 17 00:00:00 2001 From: hugues de keyzer Date: Fri, 13 Dec 2024 16:40:59 +0100 Subject: [PATCH 10/11] [IMP] website_sale_delivery_product_restriction: run pre-commit --- .../README.rst | 6 +-- .../static/description/index.html | 37 ++++++++++--------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/website_sale_delivery_product_restriction/README.rst b/website_sale_delivery_product_restriction/README.rst index 5b0fa50..f06e3fe 100644 --- a/website_sale_delivery_product_restriction/README.rst +++ b/website_sale_delivery_product_restriction/README.rst @@ -17,7 +17,7 @@ Website Sale Delivery Product Restriction :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Fcie--e--commerce-lightgray.png?logo=github - :target: https://github.com/coopiteasy/cie-e-commerce/tree/12.0/website_sale_delivery_product_restriction + :target: https://github.com/coopiteasy/cie-e-commerce/tree/16.0/website_sale_delivery_product_restriction :alt: coopiteasy/cie-e-commerce |badge1| |badge2| |badge3| @@ -38,7 +38,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 to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -60,6 +60,6 @@ Contributors Maintainers ~~~~~~~~~~~ -This module is part of the `coopiteasy/cie-e-commerce `_ project on GitHub. +This module is part of the `coopiteasy/cie-e-commerce `_ project on GitHub. You are welcome to contribute. diff --git a/website_sale_delivery_product_restriction/static/description/index.html b/website_sale_delivery_product_restriction/static/description/index.html index b988461..395bc93 100644 --- a/website_sale_delivery_product_restriction/static/description/index.html +++ b/website_sale_delivery_product_restriction/static/description/index.html @@ -1,20 +1,19 @@ - - + Website Sale Delivery Product Restriction