commit | 7d7d797ffc80956e13493d98d92097cc8d280863 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Mon Jun 28 11:24:32 2021 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Mon Jun 28 11:24:32 2021 +0530 |
tree | 5bad6589e3d99bafe0f8c9517f2d250fd85126e1 | |
parent | 58daf5f91652056027ae19990e0f20407775d518 [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: