Try ERPNext Buy Support Partners Foundation

Adding a DocType to a form's "make" menu

Once a new DocType is created, how can one add a link to create it in the menu for another DocType?

For example, when looking at the Lead form, on the upper right hand menu there is a button labeled “Make,” which has a drop down menu allowing the user to create a Customer, Opportunity, or Quotation with data populated from the Lead. How can I add the new DocType to that list?

I’ve looked under Setup under Customize Form and the DocType editors. I’m guessing it may be done through a Custom Script, but I’m not sure what that would look like. Or is this something that can’t be done on hosted ERPNext?

Some backend code is required for this purpose. See for example:

Gotcha, so I guess that means this is only available on self-hosted instances. Thanks!

My dropdown menu in top of the lead form has can I get that Again?