From e63decbc38db280a1a22289f01a4614929ad9149 Mon Sep 17 00:00:00 2001 From: Amit Dodiya Date: Tue, 21 May 2013 15:44:24 +0530 Subject: [PATCH] [FIX] stock: decimal precision of new_price field on update cost price wizard is not same as defined in cost_price field bzr revid: ado@tinyerp.com-20130521101424-672kl1gsucse5hww --- addons/stock/wizard/stock_change_standard_price.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/wizard/stock_change_standard_price.py b/addons/stock/wizard/stock_change_standard_price.py index 881b5fd9af7..7557ea003bf 100644 --- a/addons/stock/wizard/stock_change_standard_price.py +++ b/addons/stock/wizard/stock_change_standard_price.py @@ -27,7 +27,7 @@ class change_standard_price(osv.osv_memory): _name = "stock.change.standard.price" _description = "Change Standard Price" _columns = { - 'new_price': fields.float('Price', required=True, digits_compute=dp.get_precision('Account'), + 'new_price': fields.float('Price', required=True, digits_compute=dp.get_precision('Product Price'), help="If cost price is increased, stock variation account will be debited " "and stock output account will be credited with the value = (difference of amount * quantity available).\n" "If cost price is decreased, stock variation account will be creadited and stock input account will be debited."),