[MIG] stock_warehouse_calendar: Migration to 16.0

This commit is contained in:
Thierry Ducrest
2022-10-10 13:24:38 +02:00
parent a193bd636d
commit e24c297f04
2 changed files with 3 additions and 3 deletions

View File

@@ -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)",

View File

@@ -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,