Merge pull request #24773 from UrvashiKishnani/patch-1

fix: GL Entries for AP/AR Summary
This commit is contained in:
Deepesh Garg 2021-03-02 17:49:13 +05:30 committed by GitHub
commit f06c166ee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -617,6 +617,7 @@ def get_partywise_advanced_payment_amount(party_type, posting_date = None, futur
FROM `tabGL Entry`
WHERE
party_type = %s and against_voucher is null
and is_cancelled = 0
and {1} GROUP BY party"""
.format(("credit") if party_type == "Customer" else "debit", cond) , party_type)