Commit 9d5cab31 authored by Romain Courteaud's avatar Romain Courteaud

Delivery may already be stopped

parent 5c22a583
......@@ -190,7 +190,8 @@ else:\n
new_delivery.confirm()\n
instance.edit(causality_value=new_delivery)\n
elif (state == stopped):\n
delivery.stop()\n
if isTransitionPossible(delivery, "stop"):\n
delivery.stop()\n
elif (state == destroyed):\n
if isTransitionPossible(delivery, "stop"):\n
delivery.stop()\n
......
19
\ No newline at end of file
20
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment