adding task to root node (#11666)
This commit is contained in:
parent
5add4897a5
commit
f71f3af938
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user