projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55b7b1f
)
Account : Corrected the rounding of base of account.invoice.tax
author
JMA(OpenERP)
<>
Thu, 7 Oct 2010 09:01:57 +0000
(14:31 +0530)
committer
Jay (OpenERP)
<jvo@tinyerp.com>
Thu, 7 Oct 2010 09:01:57 +0000
(14:31 +0530)
lp bug: https://launchpad.net/bugs/591662 fixed
bzr revid: jvo@tinyerp.com-
20101007090157
-jdfp5s1z2nfjunwh
addons/account/invoice.py
patch
|
blob
|
history
diff --git
a/addons/account/invoice.py
b/addons/account/invoice.py
index
346013b
..
79d7572
100644
(file)
--- a/
addons/account/invoice.py
+++ b/
addons/account/invoice.py
@@
-1273,6
+1273,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'])