Hello community,
We have a problem with the new naviagtion and a custom app we’ve build.
- Module = installedbase
- DocType = Merk
We’ve created the desktop.py file in the config folder of the app:
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"module_name": "Installedbase",
"category": "Modules",
"label": _("Installedbase"),
"color": "#3498db",
"icon": "octicon octicon-repo",
"type": "module",
"description": "Test",
},
]
and we’ve created the installedbase.py in the same folder (config folder of the app):
from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"label":_("Installedbase"),
"items": [
{
"type": "doctype",
"name": "merk",
"label": _("Merk"),
"description": _("Merkenoverzicht.")
},
]
},
]
After that we’ve done the
bench migrate
and
bench clear-cache
but without the desired result. The option is available in the show/hide selection in Desk but nothing is showing. I’ve been practicing and trying for two days in a row without the desired result. Can anyone please help me?