fix: fix Transalation

This commit is contained in:
vishdha 2020-04-16 11:09:54 +05:30
parent 5008be1db5
commit 5b36d15927

View File

@ -89,7 +89,7 @@ class Account(NestedSet):
throw(_("Root cannot be edited."), RootNotEditable)
if not self.parent_account and not self.is_group:
frappe.throw(_("Root Account must be a group for {0}".format(frappe.bold(self.name))))
frappe.throw(_("The root account {0} must be a group").format(frappe.bold(self.name)))
def validate_root_company_and_sync_account_to_children(self):
# ignore validation while creating new compnay or while syncing to child companies