mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[MIG] stock_warehouse_calendar: Migration to 16.0
This commit is contained in:
@@ -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)",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user