mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 13:24:47 +00:00
[minor] [fix] employee field while new sales person created from tree
This commit is contained in:
@@ -30,4 +30,7 @@ def add_node():
|
||||
parent_field: webnotes.form_dict['parent'],
|
||||
"is_group": webnotes.form_dict['is_group']
|
||||
}]
|
||||
if ctype == "Sales Person":
|
||||
doclist[0]["employee"] = webnotes.form_dict.get('employee')
|
||||
|
||||
webnotes.bean(doclist).save()
|
||||
Reference in New Issue
Block a user