Merge pull request #33698 from shamilnk/version-14-fix-task

fix: the frappe throw message is corrected in the group task validation
This commit is contained in:
Deepesh Garg
2023-01-18 21:28:28 +05:30
committed by GitHub

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))
)