Hide some options under Create button

What I’m trying to do is hide some options under the Create button in the Sales Order document…
I followed the instructions as they are in Hide Buttons in Form View

However, the case that happens to me is that the script works only when the document is opened for the first time, but when I refresh the page…all the buttons return, which I supposed to have hidden…

Does anyone know what I’m supposed to do?

This is my script!

Hello @wh.ap
Change setup to refresh. And Check again.

Hope this helps you.
Thanks

1 Like