[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
This commit is contained in:
Amit Dodiya 2013-05-21 15:44:24 +05:30
parent 39e99c1ce5
commit e63decbc38
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class change_standard_price(osv.osv_memory):
_name = "stock.change.standard.price" _name = "stock.change.standard.price"
_description = "Change Standard Price" _description = "Change Standard Price"
_columns = { _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 " 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" "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."), "If cost price is decreased, stock variation account will be creadited and stock input account will be debited."),