[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
This commit is contained in:
Rifakat Haradwala (Open ERP) 2011-03-03 11:26:18 +05:30
parent d1683be192
commit 5f097765bd
1 changed files with 1 additions and 1 deletions

View File

@ -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."),