Skip to content

Commit

Permalink
Merge pull request #30663 from frappe/mergify/bp/version-13-hotfix/pr…
Browse files Browse the repository at this point in the history
…-30542

fix: Ignore disabled tax categories (backport #30542)
  • Loading branch information
deepeshgarg007 authored Apr 9, 2022
2 parents e69849d + 37dc11e commit 8e742d6
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 @@ -341,7 +341,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 8e742d6

Please sign in to comment.