[FIX] Account: Residual amount is not update updated properly with voucher payment

lp bug: https://launchpad.net/bugs/651628 fixed

bzr revid: mra@mra-laptop-20101004073113-x70oe0fsnlt3dqjy
This commit is contained in:
Mustufa Rangwala
2010-10-04 13:01:13 +05:30
parent f90c074f3f
commit 05f53b95f1
+1 -1
View File
@@ -148,7 +148,7 @@ class account_invoice(osv.osv):
res[id] = []
if not invoice.move_id:
continue
data_lines = invoice.move_id.line_id
data_lines = [x for x in invoice.move_id.line_id if x.account_id.id == invoice.account_id.id]
partial_ids = []
for line in data_lines:
ids_line = []