Merge pull request #35731 from frappe/mergify/bp/version-13/pr-35730

fix: Incorrect field while calculating Tax withholding net total (#35730)
This commit is contained in:
Deepesh Garg
2023-06-16 11:20:00 +05:30
committed by GitHub

View File

@@ -526,7 +526,7 @@ def get_tds_amount_from_ldc(ldc, parties, pan_no, tax_details, posting_date, net
"docstatus": 1,
"posting_date": ("between", (ldc.valid_from, ldc.valid_upto)),
},
"sum(tax_withholding_net_total)",
"sum(base_net_total)",
)
if is_valid_certificate(