mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 17:15:04 +00:00
Co-authored-by: conncampbell <conncampbell@conzu.ca>
(cherry picked from commit 31123436fb)
Co-authored-by: Conn Campbell <conn.campbell@conzu.ca>
This commit is contained in:
@@ -105,7 +105,7 @@ class Task(NestedSet):
|
||||
frappe.throw(_("Completed On cannot be greater than Today"))
|
||||
|
||||
def update_depends_on(self):
|
||||
depends_on_tasks = self.depends_on_tasks or ""
|
||||
depends_on_tasks = ""
|
||||
for d in self.depends_on:
|
||||
if d.task and d.task not in depends_on_tasks:
|
||||
depends_on_tasks += d.task + ","
|
||||
|
||||
Reference in New Issue
Block a user