From 09a46fcf0ee595217c47f0bcf9caebebca8da4b1 Mon Sep 17 00:00:00 2001 From: ljain112 Date: Wed, 14 May 2025 12:38:38 +0530 Subject: [PATCH] fix: correct expense amount in party ledger summary. --- .../report/customer_ledger_summary/customer_ledger_summary.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/report/customer_ledger_summary/customer_ledger_summary.py b/erpnext/accounts/report/customer_ledger_summary/customer_ledger_summary.py index 68f5f4eab76..963fb3556a6 100644 --- a/erpnext/accounts/report/customer_ledger_summary/customer_ledger_summary.py +++ b/erpnext/accounts/report/customer_ledger_summary/customer_ledger_summary.py @@ -405,7 +405,9 @@ class PartyLedgerSummaryReport: gl = qb.DocType("GL Entry") query = ( qb.from_(gl) - .select(gl.voucher_type, gl.voucher_no) + .select( + gl.posting_date, gl.account, gl.party, gl.voucher_type, gl.voucher_no, gl.debit, gl.credit + ) .where( (gl.docstatus < 2) & (gl.is_cancelled == 0)