From 6be4236b59d9ca16fc65e4b7829cd9584fdf3fa3 Mon Sep 17 00:00:00 2001 From: Urvisha-OSI Date: Wed, 22 Mar 2023 16:48:36 +0530 Subject: [PATCH] [MIG] stock_inventory: Migration to 16.0 --- setup/stock_inventory/odoo/addons/stock_inventory | 1 + setup/stock_inventory/setup.py | 6 ++++++ stock_inventory/README.rst | 15 ++++++++------- stock_inventory/__manifest__.py | 2 +- stock_inventory/models/stock_inventory.py | 2 +- stock_inventory/readme/CONTRIBUTORS.rst | 1 + stock_inventory/static/description/index.html | 9 +++++---- stock_inventory/tests/test_stock_inventory.py | 10 +++++----- 8 files changed, 28 insertions(+), 18 deletions(-) create mode 120000 setup/stock_inventory/odoo/addons/stock_inventory create mode 100644 setup/stock_inventory/setup.py diff --git a/setup/stock_inventory/odoo/addons/stock_inventory b/setup/stock_inventory/odoo/addons/stock_inventory new file mode 120000 index 000000000..6a46dcae7 --- /dev/null +++ b/setup/stock_inventory/odoo/addons/stock_inventory @@ -0,0 +1 @@ +../../../../stock_inventory \ No newline at end of file diff --git a/setup/stock_inventory/setup.py b/setup/stock_inventory/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/stock_inventory/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_inventory/README.rst b/stock_inventory/README.rst index c70d243e8..c995e239f 100644 --- a/stock_inventory/README.rst +++ b/stock_inventory/README.rst @@ -14,14 +14,14 @@ Stock Inventory Adjustment :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/15.0/stock_inventory + :target: https://github.com/OCA/stock-logistics-warehouse/tree/16.0/stock_inventory :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-15-0/stock-logistics-warehouse-15-0-stock_inventory + :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_inventory :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/15.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-warehouse&target_branch=16.0 + :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -51,7 +51,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. @@ -70,6 +70,7 @@ Contributors * David Jiménez * Guillem Casassas + * Urvisha Desai Maintainers ~~~~~~~~~~~ @@ -84,6 +85,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_inventory/__manifest__.py b/stock_inventory/__manifest__.py index fc7c70b8a..37e1d041b 100644 --- a/stock_inventory/__manifest__.py +++ b/stock_inventory/__manifest__.py @@ -1,6 +1,6 @@ { "name": "Stock Inventory Adjustment", - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "license": "LGPL-3", "maintainer": ["DavidJForgeFlow"], "development_status": "Beta", diff --git a/stock_inventory/models/stock_inventory.py b/stock_inventory/models/stock_inventory.py index cf01a33aa..cd29cc0e3 100644 --- a/stock_inventory/models/stock_inventory.py +++ b/stock_inventory/models/stock_inventory.py @@ -44,7 +44,7 @@ class InventoryAdjustmentsGroup(models.Model): category_id = fields.Many2one("product.category", string="Product Category") lot_ids = fields.Many2many( - "stock.production.lot", + "stock.lot", string="Lot/Serial Numbers", ) diff --git a/stock_inventory/readme/CONTRIBUTORS.rst b/stock_inventory/readme/CONTRIBUTORS.rst index 8dd66508f..81f838605 100644 --- a/stock_inventory/readme/CONTRIBUTORS.rst +++ b/stock_inventory/readme/CONTRIBUTORS.rst @@ -2,3 +2,4 @@ * David Jiménez * Guillem Casassas + * Urvisha Desai diff --git a/stock_inventory/static/description/index.html b/stock_inventory/static/description/index.html index 1c3528eba..d456b0a27 100644 --- a/stock_inventory/static/description/index.html +++ b/stock_inventory/static/description/index.html @@ -3,7 +3,7 @@ - + Stock Inventory Adjustment