Account : Corrected the rounding of base of account.invoice.tax

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

bzr revid: jvo@tinyerp.com-20101007090342-tltei8skbhp7101u
This commit is contained in:
JMA(OpenERP)
2010-10-07 14:33:42 +05:30
committed by Jay (OpenERP)
parent 1f159ce453
commit 6f121f968d
+1
View File
@@ -1622,6 +1622,7 @@ class account_invoice_tax(osv.osv):
tax_grouped[key]['tax_amount'] += val['tax_amount']
for t in tax_grouped.values():
t['base'] = cur_obj.round(cr, uid, cur, t['base'])
t['amount'] = cur_obj.round(cr, uid, cur, t['amount'])
t['base_amount'] = cur_obj.round(cr, uid, cur, t['base_amount'])
t['tax_amount'] = cur_obj.round(cr, uid, cur, t['tax_amount'])