Custom app not showing on desk of v12

Dear coleagues,

just installed ERPNext v12 and tried to get the “old” custom apps to work. They do load without any issues and can be opened through the awsome bar “Open ”. However, the will not diplays on the main desk, despite the fact that on the “show / hide cards” it appears:

Permissions should be alright, I can open all doctypes. Tried reloading, no sucess.

Any tipps on how to get the custom module as a visible card? Thanks!

Have you tried making the required changed in the .json file of the custom app?

Please have a look at the custom app tutorial. I hope you will have your answer.

Your module must have a .py file under config folder with your menu defined there

Refer

https://github.com/frappe/erpnext/blob/develop/erpnext/config/education.py

2 Likes

Yes my mistake it’s not .json file its .py file.
In the new custom app it is named as desktop.py

Did you solve your problem? Please how did you do it? I am facing the same issue here. Thanks

…As mentioned above

Kind regards,

Actually, that was only intermittent, after a few “bench updates” and reloads on the browser the app did show up. Make sure, as mentioned above that the config is good (compare to other custom apps)…

Add a new file to your app config directory. e.g

my_app/my_app/config/my_app.py

from __future__ import unicode_literals
from frappe import _

def get_data():

    return [
        {
            "label": _("Document"),
            "icon": "octicon octicon-briefcase",
            "items": [
                {
                    "type": "doctype",
                    "name": "my_app",
                    "label": _("What I want to call my_app"),
                }
            ]
        }
    ]
1 Like