fix: Deadlock on making reverse GL Entries

This commit is contained in:
Deepesh Garg 2022-02-02 17:09:34 +05:30
parent 528c71382f
commit f1c3bcee1f

View File

@ -325,7 +325,7 @@ def make_reverse_gl_entries(gl_entries=None, voucher_type=None, voucher_no=None,
"voucher_type": voucher_type, "voucher_type": voucher_type,
"voucher_no": voucher_no, "voucher_no": voucher_no,
"is_cancelled": 0 "is_cancelled": 0
}) }, for_update=True)
if gl_entries: if gl_entries:
validate_accounting_period(gl_entries) validate_accounting_period(gl_entries)