From c6eafc0b3b7656bcea3f60f8985e703bdccd510e Mon Sep 17 00:00:00 2001 From: nguyen hoang hiep Date: Wed, 15 Sep 2021 09:48:42 +0000 Subject: [PATCH] [MIG] stock_product_qty_by_packaging: Migration to 14.0 --- stock_product_qty_by_packaging/README.rst | 23 ++++++++++++------- .../__manifest__.py | 6 ++--- .../models/stock_move.py | 2 +- .../models/stock_move_line.py | 2 +- .../models/stock_quant.py | 2 +- .../readme/CONTRIBUTORS.rst | 2 ++ .../readme/CREDITS.rst | 1 + .../static/description/index.html | 21 +++++++++++------ .../tests/test_stock.py | 2 +- .../views/stock_inventory_line.xml | 4 ++-- 10 files changed, 41 insertions(+), 24 deletions(-) create mode 100644 stock_product_qty_by_packaging/readme/CREDITS.rst diff --git a/stock_product_qty_by_packaging/README.rst b/stock_product_qty_by_packaging/README.rst index d66f086d7..7aa51a354 100644 --- a/stock_product_qty_by_packaging/README.rst +++ b/stock_product_qty_by_packaging/README.rst @@ -10,17 +10,17 @@ Stock packaging calculator .. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png :target: https://odoo-community.org/page/development-status :alt: Alpha -.. |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 +.. |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-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github - :target: https://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_product_qty_by_packaging + :target: https://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_product_qty_by_packaging :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-13-0/stock-logistics-warehouse-13-0-stock_product_qty_by_packaging + :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_product_qty_by_packaging :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/13.0 + :target: https://runbot.odoo-community.org/runbot/153/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -54,7 +54,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 -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -71,6 +71,13 @@ Contributors Simone Orsi Sébastien Alix +* `Trobz `_: +* Nguyen Hoang Hiep + +Other credits +~~~~~~~~~~~~~ + +The migration of this module from 13.0 to 14.0 was financially supported by Camptocamp Maintainers ~~~~~~~~~~~ @@ -85,6 +92,6 @@ 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. +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_product_qty_by_packaging/__manifest__.py b/stock_product_qty_by_packaging/__manifest__.py index f417bfa55..30ac87ca3 100644 --- a/stock_product_qty_by_packaging/__manifest__.py +++ b/stock_product_qty_by_packaging/__manifest__.py @@ -1,14 +1,14 @@ # Copyright 2020 Camptocamp SA -# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl) { "name": "Stock packaging calculator", "summary": "Compute product quantity to pick by packaging", - "version": "13.0.1.1.0", + "version": "14.0.1.0.0", "development_status": "Alpha", "category": "Warehouse Management", "website": "https://github.com/OCA/stock-logistics-warehouse", "author": "Camptocamp, Odoo Community Association (OCA)", - "license": "LGPL-3", + "license": "AGPL-3", "installable": True, "depends": ["stock_packaging_calculator", "stock"], "data": ["views/stock_picking.xml", "views/stock_inventory_line.xml"], diff --git a/stock_product_qty_by_packaging/models/stock_move.py b/stock_product_qty_by_packaging/models/stock_move.py index a4c694f12..2bffff42c 100644 --- a/stock_product_qty_by_packaging/models/stock_move.py +++ b/stock_product_qty_by_packaging/models/stock_move.py @@ -1,7 +1,7 @@ # Copyright 2020 Camptocamp SA # @author: Simone Orsi # @author: Sébastien Alix -# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) from odoo import models diff --git a/stock_product_qty_by_packaging/models/stock_move_line.py b/stock_product_qty_by_packaging/models/stock_move_line.py index 789f07acf..cfea5c7d8 100644 --- a/stock_product_qty_by_packaging/models/stock_move_line.py +++ b/stock_product_qty_by_packaging/models/stock_move_line.py @@ -1,7 +1,7 @@ # Copyright 2020 Camptocamp SA # @author: Simone Orsi # @author: Sébastien Alix -# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) from odoo import models diff --git a/stock_product_qty_by_packaging/models/stock_quant.py b/stock_product_qty_by_packaging/models/stock_quant.py index 8290e2a7a..04e0888bb 100644 --- a/stock_product_qty_by_packaging/models/stock_quant.py +++ b/stock_product_qty_by_packaging/models/stock_quant.py @@ -1,7 +1,7 @@ # Copyright 2020 Camptocamp SA # @author: Simone Orsi # @author: Sébastien Alix -# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import models diff --git a/stock_product_qty_by_packaging/readme/CONTRIBUTORS.rst b/stock_product_qty_by_packaging/readme/CONTRIBUTORS.rst index e99779dc9..80f1c46a3 100644 --- a/stock_product_qty_by_packaging/readme/CONTRIBUTORS.rst +++ b/stock_product_qty_by_packaging/readme/CONTRIBUTORS.rst @@ -1,2 +1,4 @@ Simone Orsi Sébastien Alix +* `Trobz `_: +* Nguyen Hoang Hiep diff --git a/stock_product_qty_by_packaging/readme/CREDITS.rst b/stock_product_qty_by_packaging/readme/CREDITS.rst new file mode 100644 index 000000000..f37ebe757 --- /dev/null +++ b/stock_product_qty_by_packaging/readme/CREDITS.rst @@ -0,0 +1 @@ +The migration of this module from 13.0 to 14.0 was financially supported by Camptocamp diff --git a/stock_product_qty_by_packaging/static/description/index.html b/stock_product_qty_by_packaging/static/description/index.html index 4bc6f9794..ea0e81cc7 100644 --- a/stock_product_qty_by_packaging/static/description/index.html +++ b/stock_product_qty_by_packaging/static/description/index.html @@ -3,7 +3,7 @@ - + Stock packaging calculator