From 8fb38746a52820de1acaaec897b2e72922116acd Mon Sep 17 00:00:00 2001 From: Yoshi Tashiro Date: Fri, 18 Aug 2023 17:43:39 +0800 Subject: [PATCH] product_delivery_destination: switch license to LGPL --- product_delivery_destination/README.rst | 8 ++++++ .../models/delivery_city.py | 2 +- .../models/product_template.py | 2 +- .../models/res_country_state.py | 2 +- .../static/description/index.html | 28 +++++++++++++------ 5 files changed, 30 insertions(+), 12 deletions(-) diff --git a/product_delivery_destination/README.rst b/product_delivery_destination/README.rst index d5cd38c0..207f47ca 100644 --- a/product_delivery_destination/README.rst +++ b/product_delivery_destination/README.rst @@ -29,6 +29,14 @@ products in an external auction/marketplace website. .. contents:: :local: +Configuration +============= + +1. Navigate to Contacts > Settings > States. +2. Create a new state or edit an existing one and enable is_deliverable. +3. Go to Sales > Settings > Delivery Cities. +4. Add a new record, selecting only a state marked as is_deliverable. + Bug Tracker =========== diff --git a/product_delivery_destination/models/delivery_city.py b/product_delivery_destination/models/delivery_city.py index 7b7bc3c6..08fab421 100644 --- a/product_delivery_destination/models/delivery_city.py +++ b/product_delivery_destination/models/delivery_city.py @@ -1,5 +1,5 @@ # Copyright 2023 Quartile Limited -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). from odoo import fields, models diff --git a/product_delivery_destination/models/product_template.py b/product_delivery_destination/models/product_template.py index 3cc5ff2e..c2b3cea5 100644 --- a/product_delivery_destination/models/product_template.py +++ b/product_delivery_destination/models/product_template.py @@ -1,5 +1,5 @@ # Copyright 2023 Quartile Limited -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). from odoo import fields, models, api diff --git a/product_delivery_destination/models/res_country_state.py b/product_delivery_destination/models/res_country_state.py index 31133e8e..93f199dd 100644 --- a/product_delivery_destination/models/res_country_state.py +++ b/product_delivery_destination/models/res_country_state.py @@ -1,5 +1,5 @@ # Copyright 2023 Quartile Limited -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). from odoo import fields, models diff --git a/product_delivery_destination/static/description/index.html b/product_delivery_destination/static/description/index.html index da9419c9..f496227c 100644 --- a/product_delivery_destination/static/description/index.html +++ b/product_delivery_destination/static/description/index.html @@ -3,7 +3,7 @@ - + Product Delivery Destination