Rational
It may be necessary to stop a production order after it has been released and put the consumed components back into stock (the destination location may be different).
Proposal
Add a ‘Stopping’ state which will cancel the outgoing movements of products (outputs) and prepare the return movements of components (draft state). Switching to this state should also end current cycles and cancel future work orders.
After checking the reintegration movements, click on the ‘Done’ button, performs the reintegration movements and terminates the production order
Add a ‘Stop’ button which will switch the production order to the ‘Stopping’ state.
What did you think ?