commit | f71f3af938cabbfe088d9973c7d9a1af9ee7deb5 | [log] [tgz] |
---|---|---|
author | Zarrar <zarrar65@gmail.com> | Tue Nov 21 16:12:01 2017 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Tue Nov 21 16:12:01 2017 +0530 |
tree | 1c7eb3efbc1cd3c27ccb02ba5154edeafc663827 | |
parent | 5add4897a51cf56353a6182c23fe9fc93e6ed905 [diff] |
adding task to root node (#11666)
diff --git a/erpnext/projects/doctype/task/task.py b/erpnext/projects/doctype/task/task.py index fa56a95..52d9025 100644 --- a/erpnext/projects/doctype/task/task.py +++ b/erpnext/projects/doctype/task/task.py
@@ -233,7 +233,7 @@ }) 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()