[FIX] Account: amount should be numeric

lp bug: https://launchpad.net/bugs/687596 fixed

bzr revid: mra@mra-laptop-20101209093448-fz8ocl0jeb3egd3s
This commit is contained in:
Ferdinand 2010-12-09 15:04:48 +05:30 committed by Mustufa Rangwala
parent 154eea6443
commit 0b58b44b56
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ class account_bank_statement_line(osv.osv):
_columns = {
'name': fields.char('Communication', size=64, required=True),
'date': fields.date('Date', required=True),
'amount': fields.float('Amount'),
'amount': fields.float('Amount', digits_compute=dp.get_precision('Account')),
'type': fields.selection([
('supplier','Supplier'),
('customer','Customer'),