From bf03eb12d7745ae2f8e4061f2f28cea3d7e9bb9d Mon Sep 17 00:00:00 2001 From: DavidJForgeFlow Date: Tue, 21 Jan 2025 09:15:29 +0100 Subject: [PATCH] [REF] stock_restrict_lot: change AGPL-3 to LGPL-3 --- stock_restrict_lot/README.rst | 6 +++--- stock_restrict_lot/__manifest__.py | 2 +- stock_restrict_lot/models/product_product.py | 2 +- stock_restrict_lot/models/stock_picking.py | 2 +- stock_restrict_lot/static/description/index.html | 13 +++++-------- 5 files changed, 11 insertions(+), 14 deletions(-) diff --git a/stock_restrict_lot/README.rst b/stock_restrict_lot/README.rst index e7f52d32e268..f0229fea856a 100644 --- a/stock_restrict_lot/README.rst +++ b/stock_restrict_lot/README.rst @@ -13,9 +13,9 @@ Stock Restrict Lot .. |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 +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github :target: https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_restrict_lot :alt: OCA/stock-logistics-workflow diff --git a/stock_restrict_lot/__manifest__.py b/stock_restrict_lot/__manifest__.py index be2e08a48047..6c937e3dfdf7 100644 --- a/stock_restrict_lot/__manifest__.py +++ b/stock_restrict_lot/__manifest__.py @@ -6,7 +6,7 @@ "website": "https://github.com/OCA/stock-logistics-workflow", "author": "Akretion, Odoo Community Association (OCA)", "maintainers": ["florian-dacosta"], - "license": "AGPL-3", + "license": "LGPL-3", "installable": True, "depends": ["stock"], "data": ["views/stock_move_views.xml", "views/stock_picking.xml"], diff --git a/stock_restrict_lot/models/product_product.py b/stock_restrict_lot/models/product_product.py index e5b207707e22..fa8e56c14259 100644 --- a/stock_restrict_lot/models/product_product.py +++ b/stock_restrict_lot/models/product_product.py @@ -1,5 +1,5 @@ # Copyright 2023 Michael Tietz (MT Software) -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from odoo import models diff --git a/stock_restrict_lot/models/stock_picking.py b/stock_restrict_lot/models/stock_picking.py index e7e5d6ca2e8c..f81abb48a7fa 100644 --- a/stock_restrict_lot/models/stock_picking.py +++ b/stock_restrict_lot/models/stock_picking.py @@ -1,4 +1,4 @@ -# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html +# License LGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html from odoo import fields, models diff --git a/stock_restrict_lot/static/description/index.html b/stock_restrict_lot/static/description/index.html index df6aa3a05a5b..099be541c98e 100644 --- a/stock_restrict_lot/static/description/index.html +++ b/stock_restrict_lot/static/description/index.html @@ -8,11 +8,10 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ +:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. -Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +274,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: gray; } /* line numbers */ +pre.code .ln { color: grey; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +300,7 @@ span.pre { white-space: pre } -span.problematic, pre.problematic { +span.problematic { color: red } span.section-subtitle { @@ -369,7 +368,7 @@

Stock Restrict Lot

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:485ee666353decbe20f6b4e8160b1886d0fe4d40093294e9f30d0c4701c8f62e !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/stock-logistics-workflow Translate me on Weblate Try me on Runboat

+

Beta License: LGPL-3 OCA/stock-logistics-workflow Translate me on Weblate Try me on Runboat

This module add a field to restrict a stock move to a specific lot. It propagates it between chained moves. A move with a restrict lot will only be able to reserve or transfer products with the specified lot. @@ -421,9 +420,7 @@

Contributors

Maintainers

This module is maintained by the OCA.

- -Odoo Community Association - +Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.