fix: Ignore disabled tax categories
This commit is contained in:
parent
b981fae5a4
commit
9a6a181f14
@ -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 = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user