From f3a781a92874073f0c4bbbf58d39ee35bf8e37e6 Mon Sep 17 00:00:00 2001 From: Josse Colpaert Date: Mon, 16 Sep 2013 17:54:48 +0200 Subject: [PATCH] [FIX] further print tests dropship yml bzr revid: jco@openerp.com-20130916155448-hycviam8uf3obkx1 --- addons/stock_complex_routes/test/dropship.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock_complex_routes/test/dropship.yml b/addons/stock_complex_routes/test/dropship.yml index 9b4b6852960..53b65200aea 100644 --- a/addons/stock_complex_routes/test/dropship.yml +++ b/addons/stock_complex_routes/test/dropship.yml @@ -64,7 +64,7 @@ Check one quant was created in Customers location with 200 pieces and one move in the history_ids - !python {model: stock.quant}: | - quant_id = self.search(cr, uid, [('location_id', '=', ref('stock.stock_location_customers')),('product_id', '=', ref("drop_shop_product"))]) + quant_id = self.search(cr, uid, [('product_id', '=', ref("drop_shop_product"))]) print quant_id, [(x.qty, x.product_id.name) for x in self.browse(cr, uid, quant_id)] quant_id = self.search(cr, uid, [('location_id', '=', ref('stock.stock_location_customers')),('qty', '=', 200), ('product_id', '=', ref("drop_shop_product"))]) print quant_id, [(x.qty, x.product_id.name) for x in self.browse(cr, uid, quant_id)]