adding task to root node (#11666)

This commit is contained in:
Zarrar 2017-11-21 16:12:01 +05:30 committed by Nabin Hait
parent 5add4897a5
commit f71f3af938

View File

@ -233,7 +233,7 @@ def add_node():
}) })
args = make_tree_args(**args) args = make_tree_args(**args)
if args.parent_task == 'task': if args.parent_task == 'All Tasks':
args.parent_task = None args.parent_task = None
frappe.get_doc(args).insert() frappe.get_doc(args).insert()