From 2650946eacc069263e421659bb228b7d80cc5b48 Mon Sep 17 00:00:00 2001 From: Lois Rilo Date: Thu, 19 Dec 2019 16:19:14 +0100 Subject: [PATCH] [12.0][UPD] stock_available_unreserved: * update author's name after recent rebranding of Eficent to ForgeFlow. * change license to lgpl as agreed by the authors. * update readme to new format. --- stock_available_unreserved/README.rst | 69 ++- stock_available_unreserved/__init__.py | 5 - stock_available_unreserved/__manifest__.py | 10 +- stock_available_unreserved/models/__init__.py | 5 - stock_available_unreserved/models/product.py | 5 +- stock_available_unreserved/models/quant.py | 3 +- .../readme/CONTRIBUTORS.rst | 5 + .../readme/DESCRIPTION.rst | 10 + .../static/description/index.html | 430 ++++++++++++++++++ stock_available_unreserved/tests/__init__.py | 6 - .../tests/test_stock_available_unreserved.py | 5 +- 11 files changed, 499 insertions(+), 54 deletions(-) create mode 100644 stock_available_unreserved/readme/CONTRIBUTORS.rst create mode 100644 stock_available_unreserved/readme/DESCRIPTION.rst create mode 100644 stock_available_unreserved/static/description/index.html diff --git a/stock_available_unreserved/README.rst b/stock_available_unreserved/README.rst index ad650e028..d92271d30 100644 --- a/stock_available_unreserved/README.rst +++ b/stock_available_unreserved/README.rst @@ -1,11 +1,30 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ========================== Stock Available Unreserved ========================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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-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--warehouse-lightgray.png?logo=github + :target: https://github.com/OCA/stock-logistics-warehouse/tree/12.0/stock_available_unreserved + :alt: OCA/stock-logistics-warehouse +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available_unreserved + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/153/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module allows users to check the quantity of a stocked product that is available on-hand, and that has not yet been reserved for use anywhere else. @@ -17,51 +36,51 @@ If the warehouse personnel ensures that the unreserved quantity on hand > 0, then nobody will be stuck in pickings or manufacturing orders waiting for the availability of unreserved stock. +**Table of contents** -Usage -===== - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/153/11.0 - +.. 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. +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 ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. +* ForgeFlow Contributors ------------- +~~~~~~~~~~~~ -* Jordi Ballester Alomar +* Jordi Ballester Alomar * Stefan Rijnhart * Mykhailo Panarin * Atte Isopuro +* Lois Rilo +Maintainers +~~~~~~~~~~~ -Maintainer ----------- +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - 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. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/stock-logistics-warehouse `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_available_unreserved/__init__.py b/stock_available_unreserved/__init__.py index a00d71200..0650744f6 100644 --- a/stock_available_unreserved/__init__.py +++ b/stock_available_unreserved/__init__.py @@ -1,6 +1 @@ -# Copyright 2016 ACSONE SA/NV () -# Copyright 2016 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). - from . import models diff --git a/stock_available_unreserved/__manifest__.py b/stock_available_unreserved/__manifest__.py index 11b9efdf2..a242bad29 100644 --- a/stock_available_unreserved/__manifest__.py +++ b/stock_available_unreserved/__manifest__.py @@ -1,14 +1,12 @@ # Copyright 2018 Camptocamp SA # Copyright 2016 ACSONE SA/NV () -# Copyright 2016 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +# Copyright 2016 ForgeFlow S.L. (https://www.forgeflow.com) +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). { "name": "Stock Available Unreserved", "summary": "Quantity of stock available for immediate use", "version": "12.0.1.0.0", - "author": "Eficent Business and IT Consulting Services S.L," - "Odoo Community Association (OCA)", + "author": "ForgeFlow, Odoo Community Association (OCA)", "website": "https://github.com/OCA/stock-logistics-warehouse", "category": "Warehouse Management", "depends": [ @@ -18,5 +16,5 @@ "views/stock_quant_view.xml", "views/product_view.xml", ], - "license": "AGPL-3", + "license": "LGPL-3", } diff --git a/stock_available_unreserved/models/__init__.py b/stock_available_unreserved/models/__init__.py index e76114f16..6d26fbefb 100644 --- a/stock_available_unreserved/models/__init__.py +++ b/stock_available_unreserved/models/__init__.py @@ -1,7 +1,2 @@ -# Copyright 2016 ACSONE SA/NV () -# Copyright 2016 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). - from . import product from . import quant diff --git a/stock_available_unreserved/models/product.py b/stock_available_unreserved/models/product.py index 8d66c164a..b6f4a6c07 100644 --- a/stock_available_unreserved/models/product.py +++ b/stock_available_unreserved/models/product.py @@ -1,8 +1,7 @@ # Copyright 2018 Camptocamp SA # Copyright 2016 ACSONE SA/NV () -# Copyright 2016 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +# Copyright 2016 ForgeFlow S.L. (https://www.forgeflow.com) +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). from odoo import api, fields, models, _ from odoo.addons import decimal_precision as dp diff --git a/stock_available_unreserved/models/quant.py b/stock_available_unreserved/models/quant.py index 625634092..164f648fe 100644 --- a/stock_available_unreserved/models/quant.py +++ b/stock_available_unreserved/models/quant.py @@ -1,5 +1,6 @@ # Copyright 2018 Camptocamp SA -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +# Copyright 2016 ForgeFlow S.L. (https://www.forgeflow.com) +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). from odoo import api, fields, models diff --git a/stock_available_unreserved/readme/CONTRIBUTORS.rst b/stock_available_unreserved/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..781c431d2 --- /dev/null +++ b/stock_available_unreserved/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Jordi Ballester Alomar +* Stefan Rijnhart +* Mykhailo Panarin +* Atte Isopuro +* Lois Rilo diff --git a/stock_available_unreserved/readme/DESCRIPTION.rst b/stock_available_unreserved/readme/DESCRIPTION.rst new file mode 100644 index 000000000..b5dfb2b6f --- /dev/null +++ b/stock_available_unreserved/readme/DESCRIPTION.rst @@ -0,0 +1,10 @@ +This module allows users to check the quantity of a stocked product that is +available on-hand, and that has not yet been reserved for use anywhere else. + +This key figure is very important during the monitoring of the warehouse +execution, because it assists users to ensure that the flow of products will +not be stuck due to a sudden unavailability of stock. + +If the warehouse personnel ensures that the unreserved quantity on hand > 0, +then nobody will be stuck in pickings or manufacturing orders waiting for +the availability of unreserved stock. diff --git a/stock_available_unreserved/static/description/index.html b/stock_available_unreserved/static/description/index.html new file mode 100644 index 000000000..4ea893043 --- /dev/null +++ b/stock_available_unreserved/static/description/index.html @@ -0,0 +1,430 @@ + + + + + + +Stock Available Unreserved + + + +
+

Stock Available Unreserved

+ + +

Beta License: LGPL-3 OCA/stock-logistics-warehouse Translate me on Weblate Try me on Runbot

+

This module allows users to check the quantity of a stocked product that is +available on-hand, and that has not yet been reserved for use anywhere else.

+

This key figure is very important during the monitoring of the warehouse +execution, because it assists users to ensure that the flow of products will +not be stuck due to a sudden unavailability of stock.

+

If the warehouse personnel ensures that the unreserved quantity on hand > 0, +then nobody will be stuck in pickings or manufacturing orders waiting for +the availability of unreserved stock.

+

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

+
    +
  • ForgeFlow
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+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.

+

This module is part of the OCA/stock-logistics-warehouse project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/stock_available_unreserved/tests/__init__.py b/stock_available_unreserved/tests/__init__.py index c9c70c559..96c954ccd 100644 --- a/stock_available_unreserved/tests/__init__.py +++ b/stock_available_unreserved/tests/__init__.py @@ -1,7 +1 @@ -# Copyright 2016 ACSONE SA/NV () -# Copyright 2016 Eficent Business and IT Consulting Services S.L. -# Copyright 2019 JARSA Sistemas S.A. de C.V. -# (http://www.eficent.com) -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). - from . import test_stock_available_unreserved diff --git a/stock_available_unreserved/tests/test_stock_available_unreserved.py b/stock_available_unreserved/tests/test_stock_available_unreserved.py index 8fb8ff836..3a2368171 100644 --- a/stock_available_unreserved/tests/test_stock_available_unreserved.py +++ b/stock_available_unreserved/tests/test_stock_available_unreserved.py @@ -1,10 +1,9 @@ # Copyright 2018 Camptocamp SA # Copyright 2016 ACSONE SA/NV () -# Copyright 2016 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) +# Copyright 2016 ForgeFlow S.L. (https://www.forgeflow.com) # Copyright 2016 Therp BV # Copyright 2019 JARSA Sistemas S.A. de C.V. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). from odoo.tests.common import SavepointCase