fix: incorrect number of entries while making deferred revenue entry (#19473)
This commit is contained in:
parent
01c19d3b93
commit
e123ec6b45
@ -174,6 +174,8 @@ def make_gl_entries(doc, credit_account, debit_account, against,
|
||||
# GL Entry for crediting the amount in the deferred expense
|
||||
from erpnext.accounts.general_ledger import make_gl_entries
|
||||
|
||||
if amount == 0: return
|
||||
|
||||
gl_entries = []
|
||||
gl_entries.append(
|
||||
doc.get_gl_dict({
|
||||
|
Loading…
Reference in New Issue
Block a user