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:
committed by
Jay (OpenERP)
parent
1f159ce453
commit
6f121f968d
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user