Modify the options in the create button in docs

Hello everyone,

So I would like to edit the options within the create button. Is there a way to remove and add options to this button? For example I would like to add “Invoice” as one of these options on the create button located on the Quotation doctype?

image

Is there a simple way to add this in?

Any help is appreciated

I found the solution:

Just use the code:
frm.remove_custom_button(‘(button option you want to remove)’,‘(button name)’);