fix: Post cancellation accounting entry on posting date instaed of current (#23361)

This commit is contained in:
Deepesh Garg 2020-09-23 17:19:11 +05:30 committed by GitHub
parent fd42af5b91
commit cfc5e29127
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -320,7 +320,6 @@ def make_reverse_gl_entries(gl_entries=None, voucher_type=None, voucher_no=None,
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")