fix: FY query returning None for new company
This commit is contained in:
parent
03370c63c5
commit
350ed1a6c2
@ -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