Commit 35d5808c authored by Jérome Perrin's avatar Jérome Perrin

no need to hardcode the workflow id

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7704 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 65822615
...@@ -14,7 +14,9 @@ ...@@ -14,7 +14,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>Python_magic</string> </key> <key> <string>Python_magic</string> </key>
<value> <string encoding="base64">O/INCg==</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>Script_magic</string> </key> <key> <string>Script_magic</string> </key>
...@@ -74,7 +76,6 @@ if packing_list_state == "draft":\n ...@@ -74,7 +76,6 @@ if packing_list_state == "draft":\n
packing_list.portal_workflow.doActionFor(\n packing_list.portal_workflow.doActionFor(\n
packing_list,\n packing_list,\n
\'confirm_action\',\n \'confirm_action\',\n
wf_id=\'packing_list_workflow\',\n
comment="Initialized by Delivery Builder")\n comment="Initialized by Delivery Builder")\n
\n \n
packing_list.edit()\n packing_list.edit()\n
......
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