mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
adding task to root node (#11666)
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user