commit | d0ea598cdfb203882fca887d2ba34938c4c75b8e | [log] [tgz] |
---|---|---|
author | Gursheen Anand <gursheen@frappe.io> | Mon Jan 08 15:50:50 2024 +0530 |
committer | Gursheen Anand <gursheen@frappe.io> | Mon Jan 08 15:50:50 2024 +0530 |
tree | 74ee2ba6aff4c7a835cb30f0d29e0f2a68912343 | |
parent | b96c063c93532b8910b910b04750b3de367954cc [diff] |
fix: fetch name for fy
diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index f9208f0..25fbe17 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py
@@ -1280,7 +1280,7 @@ 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()