Merge pull request #47541 from ljain112/fix-cls

fix: correct expense amount in party ledger summary.
This commit is contained in:
ruthra kumar
2025-05-14 17:56:22 +05:30
committed by GitHub

View File

@@ -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)