[FIX] stock: decimal precision of new_price field on update cost price wizard is not same as defined in cost_price field

bzr revid: mat@openerp.com-20130917073805-dg4yvxrjkv35k7p1
This commit is contained in:
Martin Trigaux
2013-09-17 09:38:05 +02:00
@@ -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."),