From 45acc97c4fc6925655d837e4e9da5cd9387ede95 Mon Sep 17 00:00:00 2001 From: AnnaPForgeFlow Date: Wed, 6 Jul 2022 13:31:32 +0200 Subject: [PATCH] [MIG] stock_quantity_history_location: Migration 15.0 Co-authored-by: DavidJForgeFlow --- stock_quantity_history_location/README.rst | 22 +++++++--- .../__manifest__.py | 12 ++++- .../readme/CONSTRIBUTORS.rst | 1 - .../readme/CONTRIBUTORS.rst | 4 ++ .../static/description/index.html | 23 +++++++--- .../static/src/js/inventory_report.js | 44 ++++++++++--------- .../static/src/xml/inventory_report.xml | 9 ++++ .../tests/common.py | 4 +- .../test_stock_quantity_history_location.py | 14 +++--- .../wizards/stock_quantity_history.py | 10 ++--- .../wizards/stock_quantity_history.xml | 18 +------- 11 files changed, 93 insertions(+), 68 deletions(-) delete mode 100644 stock_quantity_history_location/readme/CONSTRIBUTORS.rst create mode 100644 stock_quantity_history_location/readme/CONTRIBUTORS.rst create mode 100644 stock_quantity_history_location/static/src/xml/inventory_report.xml diff --git a/stock_quantity_history_location/README.rst b/stock_quantity_history_location/README.rst index c2ce70d..54fd8d4 100644 --- a/stock_quantity_history_location/README.rst +++ b/stock_quantity_history_location/README.rst @@ -14,14 +14,14 @@ Stock Quantity History Location :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--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/stock-logistics-reporting/tree/14.0/stock_quantity_history_location + :target: https://github.com/OCA/stock-logistics-reporting/tree/15.0/stock_quantity_history_location :alt: OCA/stock-logistics-reporting .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/stock-logistics-reporting-14-0/stock-logistics-reporting-14-0-stock_quantity_history_location + :target: https://translation.odoo-community.org/projects/stock-logistics-reporting-15-0/stock-logistics-reporting-15-0-stock_quantity_history_location :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/151/14.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/webui/builds.html?repo=OCA/stock-logistics-reporting&target_branch=15.0 + :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -49,7 +49,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. @@ -61,6 +61,14 @@ Authors * ForgeFlow +Contributors +~~~~~~~~~~~~ + +* Jordi Ballester Alomar +* `Tecnativa `_: + + * Ernesto Tejeda + Maintainers ~~~~~~~~~~~ @@ -74,6 +82,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-reporting `_ project on GitHub. +This module is part of the `OCA/stock-logistics-reporting `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_quantity_history_location/__manifest__.py b/stock_quantity_history_location/__manifest__.py index 1b51ed6..61b82fa 100644 --- a/stock_quantity_history_location/__manifest__.py +++ b/stock_quantity_history_location/__manifest__.py @@ -5,10 +5,18 @@ { "name": "Stock Quantity History Location", "summary": "Provides stock quantity by location on past date", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "license": "AGPL-3", - "author": "ForgeFlow," "Odoo Community Association (OCA)", + "author": "ForgeFlow, Odoo Community Association (OCA)", "website": "https://github.com/OCA/stock-logistics-reporting", "depends": ["stock"], "data": ["wizards/stock_quantity_history.xml"], + "assets": { + "web.assets_backend": [ + "stock_quantity_history_location/static/src/js/inventory_report.js", + ], + "web.assets_qweb": [ + "stock_quantity_history_location/static/src/xml/inventory_report.xml", + ], + }, } diff --git a/stock_quantity_history_location/readme/CONSTRIBUTORS.rst b/stock_quantity_history_location/readme/CONSTRIBUTORS.rst deleted file mode 100644 index 6860aff..0000000 --- a/stock_quantity_history_location/readme/CONSTRIBUTORS.rst +++ /dev/null @@ -1 +0,0 @@ -* Jordi Ballester Alomar diff --git a/stock_quantity_history_location/readme/CONTRIBUTORS.rst b/stock_quantity_history_location/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..c7a3048 --- /dev/null +++ b/stock_quantity_history_location/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Jordi Ballester Alomar +* `Tecnativa `_: + + * Ernesto Tejeda diff --git a/stock_quantity_history_location/static/description/index.html b/stock_quantity_history_location/static/description/index.html index 44248ff..a98eeb1 100644 --- a/stock_quantity_history_location/static/description/index.html +++ b/stock_quantity_history_location/static/description/index.html @@ -3,7 +3,7 @@ - + Stock Quantity History Location