commit | bc7007d5889aba30015aadfb95e921a1cb933dfc | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Thu Apr 14 14:02:01 2022 +0530 |
committer | GitHub <noreply@github.com> | Thu Apr 14 14:02:01 2022 +0530 |
tree | 2e8cf5079be4d6935db9b9529710226fa7fef194 | |
parent | d06b7378f8cfae3fed3877109542e1b08fe861f2 [diff] |
fix: get enabled deduction components Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
diff --git a/erpnext/payroll/report/income_tax_computation/income_tax_computation.py b/erpnext/payroll/report/income_tax_computation/income_tax_computation.py index 98c22b5..10670f8 100644 --- a/erpnext/payroll/report/income_tax_computation/income_tax_computation.py +++ b/erpnext/payroll/report/income_tax_computation/income_tax_computation.py
@@ -257,7 +257,7 @@ 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} ) ]