fix error message
Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
This commit is contained in:
parent
64a4437b48
commit
fa5fe18b70
@ -175,7 +175,7 @@ class Account(NestedSet):
|
|||||||
and not frappe.db.get_value("Account", parent_acc_name_map[company], "is_group")):
|
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 = _("While creating account for Child Company {0}, parent account {1} found as a ledger account.").format(company_bold, parent_acc_name_bold)
|
||||||
msg += "<br><br>"
|
msg += "<br><br>"
|
||||||
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"))
|
frappe.throw(msg, title=_("Invalid Parent Account"))
|
||||||
|
|
||||||
filters = {
|
filters = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user