Merge pull request #32156 from ruthra-kumar/bug_multiple_call_to_ple_creation

fix: remove duplicate call to ple creation
This commit is contained in:
ruthra kumar
2022-09-11 12:21:01 +05:30
committed by GitHub

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
)