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:
4216edf
)
[FIX] account: corercted Quantity and Amount Currency of a move while related journal...
author
Alexis de Lattre
<alexis.delattre@akretion.com>
Tue, 3 Jul 2012 05:47:40 +0000
(11:17 +0530)
committer
Rifakat
<rha@tinyerp.com>
Tue, 3 Jul 2012 05:47:40 +0000
(11:17 +0530)
lp bug: https://launchpad.net/bugs/1019324 fixed
bzr revid: rha@tinyerp.com-
20120703054740
-d3ana850vomt083a
addons/account/account_invoice.py
patch
|
blob
|
history
diff --git
a/addons/account/account_invoice.py
b/addons/account/account_invoice.py
index
b7def8e
..
d61cd25
100644
(file)
--- a/
addons/account/account_invoice.py
+++ b/
addons/account/account_invoice.py
@@
-789,6
+789,8
@@
class account_invoice(osv.osv):
line2[tmp]['credit'] = (am < 0) and -am or 0.0
line2[tmp]['tax_amount'] += l['tax_amount']
line2[tmp]['analytic_lines'] += l['analytic_lines']
+ line2[tmp]['amount_currency'] += l['amount_currency']
+ line2[tmp]['quantity'] += l['quantity']
else:
line2[tmp] = l
line = []