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:
629e370
)
[FIX] account: payment_ids should list payments of same account than the invoice...
author
Denis Ledoux
<dle@odoo.com>
Wed, 6 Aug 2014 17:00:01 +0000
(19:00 +0200)
committer
Denis Ledoux
<dle@odoo.com>
Wed, 6 Aug 2014 17:00:01 +0000
(19:00 +0200)
addons/account/account_invoice.py
patch
|
blob
|
history
diff --git
a/addons/account/account_invoice.py
b/addons/account/account_invoice.py
index
afd0077
..
00d0b0d
100644
(file)
--- a/
addons/account/account_invoice.py
+++ b/
addons/account/account_invoice.py
@@
-177,6
+177,8
@@
class account_invoice(osv.osv):
lines = []
if invoice.move_id:
for m in invoice.move_id.line_id:
+ if m.account_id != invoice.account_id:
+ continue
temp_lines = []
if m.reconcile_id:
temp_lines = map(lambda x: x.id, m.reconcile_id.line_id)