fix: don't consider cancelled entries
This commit is contained in:
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,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user