fix: Incorrect field while calculating Tax withholding net total

(cherry picked from commit b95d459812)
This commit is contained in:
Deepesh Garg
2023-06-16 11:15:42 +05:30
committed by Mergify
parent 9a659254e3
commit f8a8cf3046

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(