Rename Buttons in Form View
In a submitted Sales Order, you can see multiple options under the 'Create' option:
Last updated
In a submitted Sales Order, you can see multiple options under the 'Create' option:
Last updated
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.
To check the method which is called, you will need to check JS file for that doctype. In this example, for renaming 'Request For Raw Materials', we are referring to this line.
Was this article helpful?Give Feedback.