In a model with a workflow, when you create a new record it starts a new workflow instance
. It will then transition between "activities" until it reaches a flow stop
, typically a cancel
or done
state.
What I'm experiencing in OpenERP 6.1, is that once a workflow instance
reaches the flow stop
, it's dead and you cannot perform more transitions on it.
But I would like to have a Reset to draft
button on a form that would allow a terminated workflow to be restarted. Is there a way to achieve this, say, through a Python call to a method of the Openerp workflow services?