diff --git a/erpnext/accounts/dashboard_chart_source/account_balance_timeline/account_balance_timeline.py b/erpnext/accounts/dashboard_chart_source/account_balance_timeline/account_balance_timeline.py index 3a4626c26873a1c006de8f58465756e8f1348f72..61d7c7e98a986d643e2b97399001df44f30d84e2 100644 --- a/erpnext/accounts/dashboard_chart_source/account_balance_timeline/account_balance_timeline.py +++ b/erpnext/accounts/dashboard_chart_source/account_balance_timeline/account_balance_timeline.py @@ -39,14 +39,14 @@ def get( if not account and chart_name: frappe.throw( _("Account is not set for the dashboard chart {0}").format( - get_link_to_form("Dashboard Chart", chart_name) + get_link_to_form("Dashboard Chart", chart_name, _(chart_name)) ) ) if not frappe.db.exists("Account", account) and chart_name: frappe.throw( _("Account {0} does not exists in the dashboard chart {1}").format( - account, get_link_to_form("Dashboard Chart", chart_name) + account, get_link_to_form("Dashboard Chart", chart_name, _(chart_name)) ) )