Rename Buttons in Form View

In a submitted Sales Order, you can see multiple options under the 'Create' option:

You can use this custom script to rename the buttons:

Using this script, we have removed/hidden the unwanted buttons, and then renamed one:

Note: To learn more about the JS APIs, visit the frappe documentation.
Was this article helpful?
Thank you!