Merge pull request #30542 from deepeshgarg007/disabled_tax_category
fix: Ignore disabled tax categories
This commit is contained in:
commit
2e00678c76
@ -340,7 +340,7 @@ def get_tax_template(master_doctype, company, is_inter_state, state_code):
|
|||||||
tax_categories = frappe.get_all(
|
tax_categories = frappe.get_all(
|
||||||
"Tax Category",
|
"Tax Category",
|
||||||
fields=["name", "is_inter_state", "gst_state"],
|
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 = ""
|
default_tax = ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user