Launch action from workflow
Sometimes we may need to launch for example a wizard during a transition if some condition are met. As it is conditional we can not use the ModelView.button_action
. But also often we do not want that the transition succeed (which is the case if button_action
is added to the transition method.
For example #7600 will need to trigger a check wizard under some condition before doing the transition.
So I propose to add a new kind of Exception (because we need to stop the transaction) which will be interpreted by the clients to launch the specified action for the specified records (we could launch the action on a subset of the records for example).