Merge pull request #23643 from deepeshgarg007/payment_reco_cancel

fix: Do not get cancelled vouchers in Payment Reconciliation
This commit is contained in:
Deepesh Garg 2020-10-14 22:09:08 +05:30 committed by GitHub
commit ddccec4f5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,6 +99,7 @@ class PaymentReconciliation(Document):
and `tabGL Entry`.against_voucher_type = %(voucher_type)s
and `tab{doc}`.docstatus = 1 and `tabGL Entry`.party = %(party)s
and `tabGL Entry`.party_type = %(party_type)s and `tabGL Entry`.account = %(account)s
and `tabGL Entry`.is_cancelled = 0
GROUP BY `tab{doc}`.name
Having
amount > 0