Skip to content

Commit 07b023a

Browse files
committed
refactor: updated key for withholding_date
1 parent 5366697 commit 07b023a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,7 @@ def get_tax_withholding_entries(filters):
220220
IfNull(twe.lower_deduction_certificate, "").as_("lower_deduction_certificate"),
221221
IfNull(twe.withholding_doctype, "").as_("withholding_doctype"),
222222
IfNull(twe.withholding_name, "").as_("withholding_name"),
223-
twe.withholding_date,
224-
twe.status,
223+
twe.withholding_date.as_("transaction_date"),
225224
)
226225
.where(twe.docstatus == 1)
227226
.where(twe.withholding_date >= filters.from_date)

0 commit comments

Comments
 (0)