fix: remove multiple call to ple creation

(cherry picked from commit 4adc372f9a)
This commit is contained in:
ruthra kumar
2022-09-11 11:52:17 +05:30
committed by Mergify
parent 793ee83f39
commit a2285d5e5e

View File

@@ -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
)