[fix] Desktop Icon - Setup Wizard issue - Fixes frappe/erpnext#5586

This commit is contained in:
Anand Doshi 2016-06-28 21:36:08 +05:30
parent cc649a7504
commit 8d02c71dc0

View file

@ -119,7 +119,7 @@ def add_user_icon(_doctype, label=None, link=None, type='link', standard=0):
new_icon = frappe.get_doc({
'doctype': 'Desktop Icon',
'label': label,
'module_name': label,
'module_name': _doctype,
'link': link,
'type': type,
'_doctype': _doctype,