mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-10 13:57:19 +00:00
fix: get enabled deduction components
Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
This commit is contained in:
@@ -257,7 +257,7 @@ class IncomeTaxComputationReport(object):
|
||||
tax_exempted_deduction_components = [
|
||||
d.name
|
||||
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}
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user