From 342ecd79f4a3ba843e820c9a85bfc9cf525f8737 Mon Sep 17 00:00:00 2001 From: Lois Rilo Date: Wed, 18 Apr 2018 14:45:53 +0200 Subject: [PATCH] [FIX] tests --- rma_sale/tests/test_rma.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rma_sale/tests/test_rma.py b/rma_sale/tests/test_rma.py index 57afd60c..fca5f716 100644 --- a/rma_sale/tests/test_rma.py +++ b/rma_sale/tests/test_rma.py @@ -41,7 +41,8 @@ class TestRma(common.TransactionCase): 'rma_supplier_operation_id': self.rma_sup_replace_op_id.id}) self.partner_id = self.env.ref('base.res_partner_12') self.stock_location = self.env.ref('stock.stock_location_stock') - self.stock_rma_location = self.env.ref('rma.location_rma') + wh = self.env.ref('stock.warehouse0') + self.stock_rma_location = wh.lot_rma_id self.customer_location = self.env.ref( 'stock.stock_location_customers') self.supplier_location = self.env.ref(