Hey,
I am struggling for days now
, not able to take my module on my desk, let me explain what i have done
created a new app, a new module within it, and create doctypes but then run bench migrate command but it is not showing on the desk.
also edit in the desktop.py within my app/config folder
-- coding: utf-8 --
from future import unicode_literals
from frappe import _
def get_data():
return [
{
“module_name”: “ShippmentService-abc”,
“category”:“Modules”,
“color”: “#1abc9c”,
“icon”: “octicon octicon-tag”,
“type”: “module”,
“label”: _(“ShippmentService_abc”),
“description”:“My Logistic Service.”
},
{
"module_name": "testModule",
"category":"Modules",
"color": "#1abc9c",
"icon": "octicon octicon-tag",
"type": "module",
"label": _("testModule"),
"description":"desk top icons test run."
},
]
then add my module name.py file that is ShippmentService_abc.py with below code
from future import unicode_literals
from frappe import _
def get_data():
return [
{
“label”: _(“ShippmentService_abc”),
“icon”: “fa fa-star”,
“items”: [
{
“type”: “doctype”,
“name”: “invoice management”,
“description”: _(“invoice management master.”),
“onboard”: 1,
},
]
},
]
I don’t know to show my module on desk i have tried many things but no luck.
Regards