fix: Cancelled entries in tds payable monthly report
This commit is contained in:
parent
ef436fa3c2
commit
57f9d43c43
@ -111,7 +111,7 @@ def get_gle_map(filters):
|
|||||||
# {"purchase_invoice": list of dict of all gle created for this invoice}
|
# {"purchase_invoice": list of dict of all gle created for this invoice}
|
||||||
gle_map = {}
|
gle_map = {}
|
||||||
gle = frappe.db.get_all('GL Entry',\
|
gle = frappe.db.get_all('GL Entry',\
|
||||||
{"voucher_no": ["in", [d.get("name") for d in filters["invoices"]]]},
|
{"voucher_no": ["in", [d.get("name") for d in filters["invoices"]]], 'is_cancelled': 0},
|
||||||
["fiscal_year", "credit", "debit", "account", "voucher_no", "posting_date"])
|
["fiscal_year", "credit", "debit", "account", "voucher_no", "posting_date"])
|
||||||
|
|
||||||
for d in gle:
|
for d in gle:
|
||||||
|
Loading…
Reference in New Issue
Block a user