From 01c995027f3ccee1561c14dca24bdbeee48a399e Mon Sep 17 00:00:00 2001 From: Paramjit Singh Sahota Date: Fri, 14 Dec 2012 12:54:11 +0530 Subject: [PATCH] [IMP] Improved code for Default value for 'Based on' in pricelist items should be 'Public Price'. bzr revid: psa@tinyerp.com-20121214072411-3knexu4ppkq611ca --- addons/product/pricelist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index 60736323054..a95b3a26ef8 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -379,7 +379,7 @@ class product_pricelist_item(osv.osv): _description = "Pricelist item" _order = "sequence, min_quantity desc" _defaults = { - 'base': lambda *a: -1, + 'base': lambda *a: 1, 'min_quantity': lambda *a: 0, 'sequence': lambda *a: 5, 'price_discount': lambda *a: 0,