fix: remove multiple call to ple creation

This commit is contained in:
ruthra kumar 2022-09-11 11:52:17 +05:30
parent 3c055f94e1
commit 4adc372f9a

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
)