Skip to content

Commit

Permalink
fix: Ignore disabled tax categories
Browse files Browse the repository at this point in the history
  • Loading branch information
deepeshgarg007 committed Apr 1, 2022
1 parent b981fae commit 9a6a181
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 @@ -339,7 +339,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 9a6a181

Please sign in to comment.