create records view. How add another custom button

In my create product view, I want to add a custom button "Generate product variants", when my own custom function to handle that button click.
How can I do that?
Was this page helpful?