diff --git a/stock_warehouse_calendar/__manifest__.py b/stock_warehouse_calendar/__manifest__.py index 72b5783ea..b7fe6ef28 100644 --- a/stock_warehouse_calendar/__manifest__.py +++ b/stock_warehouse_calendar/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Stock Warehouse Calendar", "summary": "Adds a calendar to the Warehouse", - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "license": "LGPL-3", "website": "https://github.com/OCA/stock-logistics-warehouse", "author": "ForgeFlow, " "Odoo Community Association (OCA)", diff --git a/stock_warehouse_calendar/tests/test_stock_warehouse_calendar.py b/stock_warehouse_calendar/tests/test_stock_warehouse_calendar.py index eaf83ee95..8d5c8982d 100644 --- a/stock_warehouse_calendar/tests/test_stock_warehouse_calendar.py +++ b/stock_warehouse_calendar/tests/test_stock_warehouse_calendar.py @@ -30,9 +30,9 @@ class TestStockWarehouseCalendar(TransactionCase): ) route_vals = {"name": "WH2 -> WH"} - self.transfer_route = self.env["stock.location.route"].create(route_vals) + self.transfer_route = self.env["stock.route"].create(route_vals) rule_vals = { - "location_id": self.warehouse.lot_stock_id.id, + "location_dest_id": self.warehouse.lot_stock_id.id, "location_src_id": self.warehouse_2.lot_stock_id.id, "action": "pull_push", "warehouse_id": self.warehouse.id,