From fa5fe18b70168c7e6784f042004e2228adf511a5 Mon Sep 17 00:00:00 2001 From: Saqib Date: Mon, 26 Oct 2020 19:27:02 +0530 Subject: [PATCH] fix error message Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com> --- erpnext/accounts/doctype/account/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/account/account.py b/erpnext/accounts/doctype/account/account.py index 9de4649977b..c801cfcbba6 100644 --- a/erpnext/accounts/doctype/account/account.py +++ b/erpnext/accounts/doctype/account/account.py @@ -175,7 +175,7 @@ class Account(NestedSet): and not frappe.db.get_value("Account", parent_acc_name_map[company], "is_group")): msg = _("While creating account for Child Company {0}, parent account {1} found as a ledger account.").format(company_bold, parent_acc_name_bold) msg += "

" - msg = _("Please convert the parent account in corresponding child company to a group account.") + msg += _("Please convert the parent account in corresponding child company to a group account.") frappe.throw(msg, title=_("Invalid Parent Account")) filters = {