From 5f097765bdec4e7ea241c22a10d3119e550013c3 Mon Sep 17 00:00:00 2001 From: "Rifakat Haradwala (Open ERP)" Date: Thu, 3 Mar 2011 11:26:18 +0530 Subject: [PATCH] [FIX] : Product: Product field standard_price should use 'Purchase Price' precision instead of 'Account' precision lp bug: https://launchpad.net/bugs/726816 fixed bzr revid: rha@tinyerp.com-20110303055618-qprsaa75mrnspxd5 --- addons/product/product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/product.py b/addons/product/product.py index 6bee68c2ba6..187b415c2c5 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -271,7 +271,7 @@ class product_template(osv.osv): 'rental': fields.boolean('Can be Rent'), 'categ_id': fields.many2one('product.category','Category', required=True, change_default=True, domain="[('type','=','normal')]" ,help="Select category for the current product"), 'list_price': fields.float('Sale Price', digits_compute=dp.get_precision('Sale Price'), help="Base price for computing the customer price. Sometimes called the catalog price."), - 'standard_price': fields.float('Cost Price', required=True, digits_compute=dp.get_precision('Account'), help="Product's cost for accounting stock valuation. It is the base price for the supplier price."), + 'standard_price': fields.float('Cost Price', required=True, digits_compute=dp.get_precision('Purchase Price'), help="Product's cost for accounting stock valuation. It is the base price for the supplier price."), 'volume': fields.float('Volume', help="The volume in m3."), 'weight': fields.float('Gross weight', help="The gross weight in Kg."), 'weight_net': fields.float('Net weight', help="The net weight in Kg."),