fix: remove cancelled payment entry from PPBOID report

(cherry picked from commit 186cc3d7488b126ce5d2d6d2f9095f138fd44de3)
This commit is contained in:
Nihantra C. Patel 2024-02-09 16:27:52 +05:30 committed by Mergify
parent 72da3083e6
commit 0be520331c

View File

@ -163,7 +163,7 @@ def get_entries(filters):
"""select
voucher_type, voucher_no, party_type, party, posting_date, debit, credit, remarks, against_voucher
from `tabGL Entry`
where company=%(company)s and voucher_type in ('Journal Entry', 'Payment Entry') {0} and is_cancelled = 0
where company=%(company)s and voucher_type in ('Journal Entry', 'Payment Entry') and is_cancelled = 0 {0}
""".format(
get_conditions(filters)
),