Commit b4ea0d12 authored by Jérome Perrin's avatar Jérome Perrin

keyword arguments passed to Base_workflowStatusModify will be passed to doActionFor



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11573 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 23c5b2c3
...@@ -80,8 +80,8 @@ if workflow_action in action_id_list:\n ...@@ -80,8 +80,8 @@ if workflow_action in action_id_list:\n
try : \n try : \n
context.portal_workflow.doActionFor( o,\n context.portal_workflow.doActionFor( o,\n
workflow_action,\n workflow_action,\n
comment = comment\n comment=comment,\n
)\n **kw)\n
except ValidationFailed, message: \n except ValidationFailed, message: \n
if not batch :\n if not batch :\n
context.REQUEST.RESPONSE.redirect(\n context.REQUEST.RESPONSE.redirect(\n
...@@ -109,7 +109,7 @@ if workflow_action in action_id_list:\n ...@@ -109,7 +109,7 @@ if workflow_action in action_id_list:\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>workflow_action=None, comment=\'\', batch=1</string> </value> <value> <string>workflow_action=None, comment=\'\', batch=1, **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -138,6 +138,7 @@ if workflow_action in action_id_list:\n ...@@ -138,6 +138,7 @@ if workflow_action in action_id_list:\n
<string>workflow_action</string> <string>workflow_action</string>
<string>comment</string> <string>comment</string>
<string>batch</string> <string>batch</string>
<string>kw</string>
<string>Products.DCWorkflow.DCWorkflow</string> <string>Products.DCWorkflow.DCWorkflow</string>
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>_getattr_</string> <string>_getattr_</string>
...@@ -147,6 +148,7 @@ if workflow_action in action_id_list:\n ...@@ -147,6 +148,7 @@ if workflow_action in action_id_list:\n
<string>filter</string> <string>filter</string>
<string>map</string> <string>map</string>
<string>action_id_list</string> <string>action_id_list</string>
<string>_apply_</string>
<string>message</string> <string>message</string>
</tuple> </tuple>
</value> </value>
......
210 211
\ 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