diff --git a/stock_inventory_virtual_location/README.rst b/stock_inventory_virtual_location/README.rst index 959f7c579..f9f49476a 100644 --- a/stock_inventory_virtual_location/README.rst +++ b/stock_inventory_virtual_location/README.rst @@ -14,13 +14,13 @@ Stock Inventory Virtual 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--warehouse-lightgray.png?logo=github - :target: https://github.com/OCA/stock-logistics-warehouse/tree/11.0/stock_inventory_virtual_location + :target: https://github.com/OCA/stock-logistics-warehouse/tree/12.0/stock_inventory_virtual_location :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-11-0/stock-logistics-warehouse-11-0-stock_inventory_virtual_location + :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_inventory_virtual_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/153/11.0 + :target: https://runbot.odoo-community.org/runbot/153/12.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -44,7 +44,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. @@ -74,6 +74,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_virtual_location/__manifest__.py b/stock_inventory_virtual_location/__manifest__.py index 5e2bb5618..5f1bfbc44 100644 --- a/stock_inventory_virtual_location/__manifest__.py +++ b/stock_inventory_virtual_location/__manifest__.py @@ -7,7 +7,7 @@ 'author': 'Eficent, Odoo Community Association (OCA)', 'website': "https://github.com/OCA/stock-logistics-warehouse", 'category': 'Warehouse Management', - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', 'license': 'AGPL-3', 'depends': [ 'stock', diff --git a/stock_inventory_virtual_location/i18n/stock_inventory_virtual_location.pot b/stock_inventory_virtual_location/i18n/stock_inventory_virtual_location.pot index ca377a9b9..4d18390be 100644 --- a/stock_inventory_virtual_location/i18n/stock_inventory_virtual_location.pot +++ b/stock_inventory_virtual_location/i18n/stock_inventory_virtual_location.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" diff --git a/stock_inventory_virtual_location/static/description/index.html b/stock_inventory_virtual_location/static/description/index.html index 69927362a..9e0f58f7c 100644 --- a/stock_inventory_virtual_location/static/description/index.html +++ b/stock_inventory_virtual_location/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

This module extends the inventory adjustment by allowing to change the virtual location.

Table of contents

@@ -394,7 +394,7 @@ the virtual location.

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.

@@ -418,7 +418,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

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_virtual_location/tests/test_stock_inventory_virtual_location.py b/stock_inventory_virtual_location/tests/test_stock_inventory_virtual_location.py index 13898bc70..6f5e8e3fb 100644 --- a/stock_inventory_virtual_location/tests/test_stock_inventory_virtual_location.py +++ b/stock_inventory_virtual_location/tests/test_stock_inventory_virtual_location.py @@ -38,7 +38,7 @@ class TestStockInventoryDestinationLocation(SavepointCase): 'filter': 'product', 'product_id': product.id, }) - inventory.onchange_filter() + inventory._onchange_filter() inventory.action_start() line = fields.first(inventory.line_ids.filtered( lambda l: l.product_id.id == product.id)) @@ -46,7 +46,7 @@ class TestStockInventoryDestinationLocation(SavepointCase): # check using empty virtual_location_id line.virtual_location_id = self.stock_location line.product_qty = 3 - inventory.action_done() + inventory._action_done() move = self.stock_move.search([ ('product_id', '=', product.id), @@ -66,7 +66,7 @@ class TestStockInventoryDestinationLocation(SavepointCase): 'filter': 'product', 'product_id': product.id, }) - inventory.onchange_filter() + inventory._onchange_filter() inventory.action_start() line = fields.first(inventory.line_ids.filtered( lambda l: l.product_id.id == product.id)) @@ -78,12 +78,11 @@ class TestStockInventoryDestinationLocation(SavepointCase): }) line.virtual_location_id = new_location line.product_qty = 3 - inventory.action_done() + inventory._action_done() move = self.stock_move.search([ ('product_id', '=', product.id), ('inventory_id', '=', inventory.id), ], limit=1) - self.assertEqual(move.location_id, - line.virtual_location_id) + self.assertEqual(move.location_id, line.virtual_location_id)