fix: local variable 'fiscal_year_details' referenced before assignment (#27656)
diff --git a/erpnext/regional/india/setup.py b/erpnext/regional/india/setup.py
index ce346bc..633064c 100644
--- a/erpnext/regional/india/setup.py
+++ b/erpnext/regional/india/setup.py
@@ -752,7 +752,7 @@
def set_tax_withholding_category(company):
accounts = []
- fiscal_year = None
+ fiscal_year_details = None
abbr = frappe.get_value("Company", company, "abbr")
tds_account = frappe.get_value("Account", 'TDS Payable - {0}'.format(abbr), 'name')