Merge pull request #30542 from deepeshgarg007/disabled_tax_category
fix: Ignore disabled tax categories
diff --git a/erpnext/regional/india/utils.py b/erpnext/regional/india/utils.py
index 48e1751..249c1b7 100644
--- a/erpnext/regional/india/utils.py
+++ b/erpnext/regional/india/utils.py
@@ -340,7 +340,7 @@
tax_categories = frappe.get_all(
"Tax Category",
fields=["name", "is_inter_state", "gst_state"],
- filters={"is_inter_state": is_inter_state, "is_reverse_charge": 0},
+ filters={"is_inter_state": is_inter_state, "is_reverse_charge": 0, "disabled": 0},
)
default_tax = ""