Commit c130f37b authored by Łukasz Nowak's avatar Łukasz Nowak

- when hosting resource packing list is cancelled the reported state shall be destroyed


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45035 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bc5c49d0
......@@ -407,6 +407,8 @@ class SlapTool(BaseTool):
slap_partition._need_modification = 1
elif movement.getSimulationState() == 'delivered':
slap_partition._requested_state = 'stopped'
elif movement.getSimulationState() == 'cancelled':
slap_partition._requested_state = 'destroyed'
else:
raise NotImplementedError, "Unexpected state %s" % \
movement.getSimulationState()
......
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