diff --git a/erpnext/projects/doctype/task/task.py b/erpnext/projects/doctype/task/task.py index fa56a95960..52d9025669 100644 --- a/erpnext/projects/doctype/task/task.py +++ b/erpnext/projects/doctype/task/task.py @@ -233,7 +233,7 @@ def add_node(): }) args = make_tree_args(**args) - if args.parent_task == 'task': + if args.parent_task == 'All Tasks': args.parent_task = None frappe.get_doc(args).insert()