commit | 802e63a9d77af37abb29c8a28e093d0a08a89612 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Mon Jun 28 11:24:32 2021 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Sun Jul 04 20:29:41 2021 +0530 |
tree | c98b87385352d88e6f925201082349179ee4ece0 | |
parent | 0a79cfa17044ec0e8f8ccbb31107ed39fa52edc0 [diff] |
fix: Do not consider cancelled entries in party dashboard
diff --git a/erpnext/accounts/party.py b/erpnext/accounts/party.py index e025fc6..b97dc40 100644 --- a/erpnext/accounts/party.py +++ b/erpnext/accounts/party.py
@@ -542,6 +542,7 @@ select company, sum(debit_in_account_currency) - sum(credit_in_account_currency) from `tabGL Entry` where party_type = %s and party=%s + and is_cancelled = 0 group by company""", (party_type, party))) for d in companies: