I want to restrict saving a form view while clicking on custom button in odoo because without clicking on save button it is saving my record on database and i don't want to save record on any custom button click.
For this, i found a link added below:-
but i don't know to implement this on opening a wizard on button click. According to me, this won't work on wizard button case. Please correct me if i am wrong.
So please suggest any solution in this case. If i need to change a base functionality or any other solution? If changing base functionality is the only solution then let me know how can i achieve it even changing base functionality.