Where can i edit menu options, is there a single location where i can modify the code?

I appreciate if someone guide me to the source code of the menu option inside frappe/erpnext file.

There is a lot of place where this menu is define, DocType client script can add their own menu item.

Make a global search in Frappe/ERPNext code on .js files with add_menu_item( you’ll find a lot’s of place where this menu is defined

I was wondering to find a simple approach

Finally I found it in one single place, Great Job Frappe you’v made everything well organized.

I commented the options that i did not want to be in the dropdown menu

look at the below screenshot which is after hiding the unwanted dropdown options for a normal user