Skip to content

Commit

Permalink
fix: remove multiple call to ple creation
Browse files Browse the repository at this point in the history
(cherry picked from commit 4adc372)
  • Loading branch information
ruthra-kumar authored and mergify[bot] committed Sep 11, 2022
1 parent 793ee83 commit a2285d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion erpnext/accounts/general_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit a2285d5

Please sign in to comment.