fix: get enabled deduction components
Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
This commit is contained in:
parent
d06b7378f8
commit
bc7007d588
@ -257,7 +257,7 @@ class IncomeTaxComputationReport(object):
|
|||||||
tax_exempted_deduction_components = [
|
tax_exempted_deduction_components = [
|
||||||
d.name
|
d.name
|
||||||
for d in frappe.get_all(
|
for d in frappe.get_all(
|
||||||
"Salary Component", {"type": "Deduction", "exempted_from_income_tax": 1}
|
"Salary Component", {"type": "Deduction", "exempted_from_income_tax": 1, "disabled": 0}
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user