From a11f7d5a8267d7cdace91eae159e74f4391eb9c4 Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Mon, 30 Dec 2024 12:18:09 +0530 Subject: [PATCH] chore: fix linter --- erpnext/accounts/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index b3408a073af..51b4ed248ce 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -130,7 +130,9 @@ def get_fiscal_years( else: return ((fy.name, fy.year_start_date, fy.year_end_date),) - error_msg = _("""{0} {1} is not in any active Fiscal Year""").format(_(label), formatdate(transaction_date)) + error_msg = _("""{0} {1} is not in any active Fiscal Year""").format( + _(label), formatdate(transaction_date) + ) if company: error_msg = _("""{0} for {1}""").format(error_msg, frappe.bold(company))