Skip to content

Commit

Permalink
Merge pull request #30542 from deepeshgarg007/disabled_tax_category
Browse files Browse the repository at this point in the history
fix: Ignore disabled tax categories
  • Loading branch information
deepeshgarg007 authored Apr 9, 2022
2 parents 51d77cd + 9a6a181 commit 2e00678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/regional/india/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def get_tax_template(master_doctype, company, is_inter_state, state_code):
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 = ""
Expand Down

0 comments on commit 2e00678

Please sign in to comment.