--- account/account_move_line.py 2010-01-08 11:38:58 +0000 +++ account/account_move_line.py 2010-01-21 11:38:14 +0000 @@ -878,7 +878,10 @@ #if not 'currency_id' in vals: # vals['currency_id'] = account.company_id.currency_id.id - + if vals['debit']: + vals['debit'] = round(vals['debit']) + if vals['credit']: + vals['credit'] = round(vals['credit']) result = super(osv.osv, self).create(cr, uid, vals, context) # CREATE Taxes if 'account_tax_id' in vals and vals['account_tax_id']: