Skip to content
Snippets Groups Projects
Commit 5ca6b093 authored by Denis Ledoux's avatar Denis Ledoux
Browse files

[FIX] account: payment_ids should list payments of same account than the invoice account

parent 629e3709
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment