fix: local variable 'fiscal_year_details' referenced before assignment (#27656)
This commit is contained in:
parent
dafe99b6e2
commit
f8c1c73953
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user