mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 06:59:20 +00:00
fix error message
Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user