fix: Partial PLE cancellation

This commit is contained in:
Deepesh Garg
2023-06-29 12:18:25 +05:30
parent 7312827d4d
commit 1e078d03bb
3 changed files with 20 additions and 5 deletions

View File

@@ -526,7 +526,11 @@ def make_reverse_gl_entries(
if gl_entries:
create_payment_ledger_entry(
gl_entries, cancel=1, adv_adj=adv_adj, update_outstanding=update_outstanding
gl_entries,
cancel=1,
adv_adj=adv_adj,
update_outstanding=update_outstanding,
partial_cancel=partial_cancel,
)
validate_accounting_period(gl_entries)
check_freezing_date(gl_entries[0]["posting_date"], adv_adj)