Merge pull request #39202 from GursheenK/fiscal-year-naming-keyerror

fix: parse naming series with FY name
This commit is contained in:
Nabin Hait
2024-01-08 21:48:39 +05:30
committed by GitHub

View File

@@ -1280,7 +1280,7 @@ def parse_naming_series_variable(doc, variable):
else:
date = getdate()
company = None
return get_fiscal_year(date=date, company=company)[0]
return get_fiscal_year(date=date, company=company).name
@frappe.whitelist()