Commit fe070e86 authored by Romain Courteaud's avatar Romain Courteaud Committed by Łukasz Nowak

Avoid cancelling cancelled deliveries.

parent 999f2c89
...@@ -55,6 +55,9 @@ movement = context\n ...@@ -55,6 +55,9 @@ movement = context\n
portal = movement.getPortalObject()\n portal = movement.getPortalObject()\n
cleanup_service = portal.portal_preferences.getPreferredInstanceCleanupResource()\n cleanup_service = portal.portal_preferences.getPreferredInstanceCleanupResource()\n
\n \n
if context.getSimulationState() == \'cancelled\':\n
return\n
\n
instance = movement.getAggregateValue(portal_type="Software Instance")\n instance = movement.getAggregateValue(portal_type="Software Instance")\n
# Search for other cleanup packing list (generated by UI double click for\n # Search for other cleanup packing list (generated by UI double click for\n
# example)\n # example)\n
......
674 675
\ No newline at end of file \ 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