[FIX] stock_delivery_route: fix reference to proper warehouse xml id

This commit is contained in:
Connor Christian
2020-11-10 16:50:16 -05:00
parent f497a71d87
commit 7f5835cc0a

View File

@@ -6,7 +6,7 @@ class TestSaleRoutes(common.TransactionCase):
def test_plan_two_warehouses(self):
partner = self.env.ref('base.res_partner_2')
product_1 = self.env.ref('product.product_product_24_product_template')
wh_1 = self.env.ref('stock.stock_warehouse_shop0')
wh_1 = self.env.ref('stock.warehouse0')
delivery_route = self.env['stock.warehouse.delivery.route'].create({
'name': 'Test',
'warehouse_id': wh_1.id,