mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-12 19:35:09 +00:00
fix: don't consider cancelled entries
This commit is contained in:
committed by
GitHub
parent
458dd51af7
commit
adfcdb3b65
@@ -1994,7 +1994,8 @@ def get_outstanding_on_journal_entry(name):
|
||||
"END as outstanding_amount "
|
||||
"FROM `tabGL Entry` WHERE (voucher_no=%s OR against_voucher=%s) "
|
||||
"AND party_type IS NOT NULL "
|
||||
'AND party_type != ""',
|
||||
'AND party_type != ""'
|
||||
"AND is_cancelled = 0",
|
||||
(name, name),
|
||||
as_dict=1,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user