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 @@ ...@@ -50,14 +50,9 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>from Products.ERP5Type.Log import log\n <value> <string>packing_list_line = context.SoftwareInstance_getInstanceHostingPackingListLine(state_change)\n
packing_list_line = context.SoftwareInstance_getInstanceHostingPackingListLine(state_change)\n packing_list = packing_list_line.getParentValue()\n
if packing_list_line.getSimulationState() not in ("started", "delivered"):\n packing_list.start()\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
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
274 275
\ 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