mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
fix: Task Depends on not removed from Gantt chart (#28309)
Co-authored-by: conncampbell <conncampbell@conzu.ca>
This commit is contained in:
@@ -102,7 +102,7 @@ class Task(NestedSet):
|
|||||||
frappe.throw(_("Completed On cannot be greater than Today"))
|
frappe.throw(_("Completed On cannot be greater than Today"))
|
||||||
|
|
||||||
def update_depends_on(self):
|
def update_depends_on(self):
|
||||||
depends_on_tasks = self.depends_on_tasks or ""
|
depends_on_tasks = ""
|
||||||
for d in self.depends_on:
|
for d in self.depends_on:
|
||||||
if d.task and d.task not in depends_on_tasks:
|
if d.task and d.task not in depends_on_tasks:
|
||||||
depends_on_tasks += d.task + ","
|
depends_on_tasks += d.task + ","
|
||||||
|
|||||||
Reference in New Issue
Block a user