commit | cfc5e291274ef62f452cc9edfab686667d2da027 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com> | Wed Sep 23 17:19:11 2020 +0530 |
committer | GitHub <noreply@github.com> | Wed Sep 23 17:19:11 2020 +0530 |
tree | 59e271ad2ae4acd0b3aa804024874d9883f6b62d | |
parent | fd42af5b917e101ef99b8dc8448840d61fc54a3c [diff] |
fix: Post cancellation accounting entry on posting date instaed of current (#23361)
diff --git a/erpnext/accounts/general_ledger.py b/erpnext/accounts/general_ledger.py index 01d3903..c12e006d 100644 --- a/erpnext/accounts/general_ledger.py +++ b/erpnext/accounts/general_ledger.py
@@ -320,7 +320,6 @@ entry['remarks'] = "On cancellation of " + entry['voucher_no'] entry['is_cancelled'] = 1 - entry['posting_date'] = today() if entry['debit'] or entry['credit']: make_entry(entry, adv_adj, "Yes")