mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
Merge pull request #28502 from frappe/mergify/bp/version-13-hotfix/pr-28469
fix: FY query returning None for new company (backport #28469)
This commit is contained in:
@@ -825,7 +825,7 @@ def set_tax_withholding_category(company):
|
|||||||
accounts = [dict(company=company, account=tds_account)]
|
accounts = [dict(company=company, account=tds_account)]
|
||||||
|
|
||||||
try:
|
try:
|
||||||
fiscal_year_details = get_fiscal_year(today(), verbose=0, company=company)
|
fiscal_year_details = get_fiscal_year(today(), verbose=0)
|
||||||
except FiscalYearError:
|
except FiscalYearError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user