match one payment for multiple partially payed invoices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Banking Addons |
New
|
Undecided
|
Unassigned |
Bug Description
If i have a invoice no 1, lets say 500€ and invoice no 2, 70€
One payment is 200€ for invoice 1... that leaves us 300 for residual
if next payment is 370 and i want to pay multiple invoices (1 and 2)
it will match 370 for that first invoice (move_line credit/debet)
what it should do is to check for residual amount instead
a little bugfix for the problem
account_
### This is nt the leftover amount and it will not take any partial reconcilations in there !
# statement_line_id = wiz.statement_
# move_line.debit or -move_line.
This also affects us on OpenERP 6.1.
When selecting a statement line to match with multiple invoices, it always seems to only take the first invoice and ignore the rest. We will give your suggested fix a try.