From 5a5f1793e8f91e22b8026a67ed75183e9da3b917 Mon Sep 17 00:00:00 2001 From: "Atik Agewan (OpenERP)" Date: Tue, 27 Dec 2011 17:55:21 +0530 Subject: [PATCH] [IMP] product:change pricelist bzr revid: aag@tinyerp.com-20111227122521-bnkkl7eeyr3xz8od --- addons/product/test/product_price_list.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/test/product_price_list.yml b/addons/product/test/product_price_list.yml index d47304e1b8e..33cd1e9fd33 100644 --- a/addons/product/test/product_price_list.yml +++ b/addons/product/test/product_price_list.yml @@ -72,7 +72,7 @@ new_price = result[ref("product_product_pc1")].values() product_obj = self.pool.get("product.product") ctx = context.copy() - ctx.update({'pricelist': ref("product.product_price_list_end_year"), 'quantity': 1}) + ctx.update({'pricelist': ref("product.list0"), 'quantity': 1}) product_price = product_obj.browse(cr, uid, ref("product_product_pc1"), context=ctx).price assert new_price[0] == product_price,"30% discount is not given on sale price of product at end of year" -