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:
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: