fix: the frappe throw message is corrected in the group task validation (#33698)
fix: the frappe throw message is corrected in the group task validation (#33698)
This commit is contained in:
parent
60ec7b6cde
commit
cc569c955f
@ -80,7 +80,7 @@ class Task(NestedSet):
|
|||||||
if frappe.db.get_value("Task", d.task, "status") not in ("Completed", "Cancelled"):
|
if frappe.db.get_value("Task", d.task, "status") not in ("Completed", "Cancelled"):
|
||||||
frappe.throw(
|
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))
|
).format(frappe.bold(self.name), frappe.bold(d.task))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user