From 4adc372f9a28cc69c7fe161584a5e339b7070ae5 Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Sun, 11 Sep 2022 11:52:17 +0530 Subject: [PATCH] fix: remove multiple call to ple creation --- erpnext/accounts/general_ledger.py | 1 - 1 file changed, 1 deletion(-) diff --git a/erpnext/accounts/general_ledger.py b/erpnext/accounts/general_ledger.py index 16072f331f..f4a50a5f91 100644 --- a/erpnext/accounts/general_ledger.py +++ b/erpnext/accounts/general_ledger.py @@ -489,7 +489,6 @@ def make_reverse_gl_entries( ).run(as_dict=1) if gl_entries: - create_payment_ledger_entry(gl_entries, cancel=1) create_payment_ledger_entry( gl_entries, cancel=1, adv_adj=adv_adj, update_outstanding=update_outstanding )