Button possible actions


I have a wizard window that contains an O2M as a tree view and each line has a button.
I would like to open a tab to a model form view (preferably a tab in the model form view) via these buttons.
Would it be possible by connecting the buttons to an ir.action.act_window ? I can’t make it work. I’ve only seen connections to ir.action.wizard. The documention says that a button can be connected to any ir.action, or I misundestood ?

Thank you for your answers.

You should not. Button should be reserved to standard form not wizard. It may work but it is by chance.
Wizard must be used as small tool to perform one action.

Yes you must use the decorator @ModelView.button_action().