Merge pull request #28469 from nemesis189/new-company-setup-fy-query
fix: FY query returning None for new company
This commit is contained in:
commit
056e3b199c
@ -791,7 +791,7 @@ def set_tax_withholding_category(company):
|
||||
accounts = [dict(company=company, account=tds_account)]
|
||||
|
||||
try:
|
||||
fiscal_year_details = get_fiscal_year(today(), verbose=0, company=company)
|
||||
fiscal_year_details = get_fiscal_year(today(), verbose=0)
|
||||
except FiscalYearError:
|
||||
pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user