Commit 5e681a10 authored by Jérome Perrin's avatar Jérome Perrin

context.log on workflow scripts only works for Manager



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10649 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9a64b040
...@@ -82,7 +82,7 @@ if hasattr(delivery_tool, \'task_invoice_builder\') :\n ...@@ -82,7 +82,7 @@ if hasattr(delivery_tool, \'task_invoice_builder\') :\n
\'immediateReindexObject\' ],\n \'immediateReindexObject\' ],\n
).build()\n ).build()\n
else :\n else :\n
context.log("ERP5 Simulation",\n packing_list.log("ERP5 Simulation",\n
"Unable to build Invoice from packing list at %s "\\\n "Unable to build Invoice from packing list at %s "\\\n
": no sale_invoice_builder" % packing_list.getPath())\n ": no sale_invoice_builder" % packing_list.getPath())\n
</string> </value> </string> </value>
...@@ -133,7 +133,6 @@ else :\n ...@@ -133,7 +133,6 @@ else :\n
<string>packing_list</string> <string>packing_list</string>
<string>delivery_tool</string> <string>delivery_tool</string>
<string>hasattr</string> <string>hasattr</string>
<string>context</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
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