Try ERPNext Buy Support Partners Foundation

Create a new module using model def

i want to create a new module and the module icon appear in the desktop same as accounts.
i am using virtaul image development
1- i create a module def
2- i change the desktop.py from frappe-bench/apps/erpnext/erpnext/config/ desktop.py
the picture below explain the change that i have made
3- i do bench migrate
but the module doesn’t appear in desktop same as account and etc%D8%A7%D9%84%D8%AA%D9%82%D8%A7%D8%B7|690x471

please help

thank you

  • Modifying core apps (frappe, erpnext) is discouraged, use a custom app instead.
  • This depends on which version are you using:
    • In v13, create a new Desk Page.
    • In v12 or earlier, you’re on the right track, but you’ll also need [modulename].py in app/config (example).
1 Like