commit | f1c3bcee1fdb050df88b1eb52eabb9b8a534f294 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Wed Feb 02 17:09:34 2022 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Wed Feb 02 17:09:34 2022 +0530 |
tree | bbb56adb7b71982ccac06a8bc3cea7f6bc5fc83f | |
parent | 528c71382f972ec4464c31c9bc633c179a882072 [diff] |
fix: Deadlock on making reverse GL Entries
diff --git a/erpnext/accounts/general_ledger.py b/erpnext/accounts/general_ledger.py index 55bc967..8b01e7c 100644 --- a/erpnext/accounts/general_ledger.py +++ b/erpnext/accounts/general_ledger.py
@@ -325,7 +325,7 @@ "voucher_type": voucher_type, "voucher_no": voucher_no, "is_cancelled": 0 - }) + }, for_update=True) if gl_entries: validate_accounting_period(gl_entries)