Merge pull request #28469 from nemesis189/new-company-setup-fy-query

fix: FY query returning None for new company
This commit is contained in:
Deepesh Garg 2021-11-22 19:23:07 +05:30 committed by GitHub
commit 056e3b199c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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