Comment 1 for bug 424214

Revision history for this message
szczytt (szczytt) wrote :

Workaround/patch:

invoice.py

line 111 (_amount_residual):

from: res[inv.id] = to_pay - abs(paid_amt)
to: res[inv.id] = round(to_pay - abs(paid_amt),10)

line 895 (pay_and_reconcile):

from: if (not total) or writeoff_acc_id:
to: if (not round(total,10)) or writeoff_acc_id: