diff --git a/stock_picking_warn_message/README.rst b/stock_picking_warn_message/README.rst index e5b7b4837fa7..bf49e78e3f61 100644 --- a/stock_picking_warn_message/README.rst +++ b/stock_picking_warn_message/README.rst @@ -14,13 +14,13 @@ Stock Picking Warn Message :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--workflow-lightgray.png?logo=github - :target: https://github.com/OCA/stock-logistics-workflow/tree/14.0/stock_picking_warn_message + :target: https://github.com/OCA/stock-logistics-workflow/tree/15.0/stock_picking_warn_message :alt: OCA/stock-logistics-workflow .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_picking_warn_message + :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-15.0/stock-logistics-workflow-15.0-stock_picking_warn_message :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/154/14.0 + :target: https://runbot.odoo-community.org/runbot/154/15.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -39,7 +39,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. @@ -69,6 +69,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-workflow `_ project on GitHub. +This module is part of the `OCA/stock-logistics-workflow `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_picking_warn_message/__manifest__.py b/stock_picking_warn_message/__manifest__.py index ab084fb94460..dc4e99764dc6 100644 --- a/stock_picking_warn_message/__manifest__.py +++ b/stock_picking_warn_message/__manifest__.py @@ -5,7 +5,7 @@ "name": "Stock Picking Warn Message", "summary": """ Add a popup warning on picking to ensure warning is populated""", - "version": "14.0.1.0.1", + "version": "15.0.1.0.0", "license": "AGPL-3", "author": "ForgeFlow, Odoo Community Association (OCA)", "website": "https://github.com/OCA/stock-logistics-workflow", diff --git a/stock_picking_warn_message/tests/test_stock_picking_warn_message.py b/stock_picking_warn_message/tests/test_stock_picking_warn_message.py index 62b9589147db..e5c6c33899b8 100644 --- a/stock_picking_warn_message/tests/test_stock_picking_warn_message.py +++ b/stock_picking_warn_message/tests/test_stock_picking_warn_message.py @@ -1,10 +1,10 @@ # Copyright 2020 ForgeFlow S.L. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo.tests.common import SavepointCase +from odoo.tests.common import TransactionCase -class TestStockPickingWarnMessage(SavepointCase): +class TestStockPickingWarnMessage(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() @@ -50,6 +50,8 @@ def test_compute_picking_warn_msg(self): "product_id": self.product.id, "product_uom": self.product.uom_id.id, "product_uom_qty": 1, + "location_id": self.picking_type_out.default_location_src_id.id, + "location_dest_id": self.customer_location.id, }, ), ], @@ -74,6 +76,8 @@ def test_compute_picking_warn_msg_parent(self): "product_id": self.product.id, "product_uom": self.product.uom_id.id, "product_uom_qty": 1, + "location_id": self.picking_type_out.default_location_src_id.id, + "location_dest_id": self.customer_location.id, }, ), ],