In these new version, how can I create a desktop icons?
I try to make these:
In config/desktop.py
I made these:
def get_data():
return [
{
"module_name": "Geral",
"color": "#589494",
"icon": "octicon octicon-organization",
"type": "module",
"label": _("Geral")
}
]
and I create a new file, called geral.py
and inside them, write these:
def get_data():
return [
{
"label": _("Documents"),
"icon": "icon-star",
"items": [
{
"type": "doctype",
"name": "Contato",
"description": _("Cadastro geral de Contatos (Cliente/Fornecedores...)")
},
{
"type": "doctype",
"name": "Cidade",
"description": _("Cadastro Geral de Cidades (IBGE)")
},
]
},
]
But not work… doesn’t show any icon on desktop… All Doctype has All role… these doctypes, All kind users can see/change…
I tried to do: User icon → Set Desktop Icons… but doesn’t show any of these doctype…
But, I want, to create all icons by default for all users…
Where`s my error?
Regards