Commit 2a766e6d authored by Gabriel Monnerat's avatar Gabriel Monnerat

revert all changes from slave_instance branch. This script should follow the...

revert all changes from slave_instance branch. This script should follow the master script to the error not be hide
parent a6ab588f
......@@ -50,14 +50,9 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>from Products.ERP5Type.Log import log\n
packing_list_line = context.SoftwareInstance_getInstanceHostingPackingListLine(state_change)\n
if packing_list_line.getSimulationState() not in ("started", "delivered"):\n
packing_list_line.getParentValue().start()\n
else:\n
software_instance = state_change["object"].getRelativeUrl()\n
log("Unable to start sale Packing List %s for Software Instance %s" % \\\n
(packing_list_line.getRelativeUrl(), software_instance))\n
<value> <string>packing_list_line = context.SoftwareInstance_getInstanceHostingPackingListLine(state_change)\n
packing_list = packing_list_line.getParentValue()\n
packing_list.start()\n
</string> </value>
</item>
<item>
......
274
\ No newline at end of file
275
\ 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