fix: Deadlock on making reverse GL Entries
This commit is contained in:
parent
528c71382f
commit
f1c3bcee1f
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user