How can I create a new desktop icons, in v7.0.0-beta?

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

@fellipeh what version are you using?

@rmehta I`m using 7.0.0beta

There’s any date to release 7.0 final?

I ask that because, if there’s that long time, I want to develop using the last version 6.x because I need to develop a APP for one my costumer these month… :slight_smile: