fix: the frappe throw message is corrected in the group task validation

This commit is contained in:
shamilnk
2023-01-17 12:54:49 +05:30
parent 59018f1012
commit cf439301f6

View File

@@ -97,7 +97,7 @@ class Task(NestedSet):
if frappe.db.get_value("Task", d.task, "status") not in ("Completed", "Cancelled"):
frappe.throw(
_(
"Cannot complete task {0} as its dependant task {1} are not ccompleted / cancelled."
"Cannot complete task {0} as its dependant task {1} are not completed / cancelled."
).format(frappe.bold(self.name), frappe.bold(d.task))
)