def add_custom_doctypes(data, doctype_info):
	add_section(data, _("Documents"), "icon-star",
		[d for d in doctype_info if (d.custom and d.document_type in ("Document", "Transaction"))])

	add_section(data, _("Setup"), "icon-cog",
		[d for d in doctype_info if (d.custom and d.document_type in ("Setup", "Master", ""))])
Adds Custom DocTypes to modules setup via `config/desktop.py`.
dataset/ETHPy150Open frappe/frappe/frappe/desk/moduleview.py/add_custom_doctypes