Skip to content

Commit

Permalink
fix: local variable 'fiscal_year_details' referenced before assignment (
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib authored Sep 26, 2021
1 parent dafe99b commit f8c1c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/regional/india/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ def set_salary_components(docs):

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')

Expand Down

0 comments on commit f8c1c73

Please sign in to comment.