[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:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user