fix: Multi invoice reconciliation

This commit is contained in:
Deepesh Garg
2023-06-27 18:11:47 +05:30
parent 62c3ca8286
commit f2edc91dc6
2 changed files with 3 additions and 6 deletions

View File

@@ -476,7 +476,7 @@ def reconcile_against_document(args, skip_ref_details_update_for_pe=False): # n
create_payment_ledger_entry(gl_map, update_outstanding="No", cancel=0, adv_adj=1)
if voucher_type == "Payment Entry":
doc.make_advance_gl_entries(entry.against_voucher_type, entry.against_voucher)
doc.make_advance_gl_entries()
# Only update outstanding for newly linked vouchers
for entry in entries: