Commit fa2cd34e authored by Yoshinori Okuji's avatar Yoshinori Okuji

Pass the keyword parameters when changing a workflow state, so that a comment...

Pass the keyword parameters when changing a workflow state, so that a comment or whatever else are recorded in workflow variables.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16273 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 966282d0
......@@ -45,7 +45,7 @@ def DCWorkflowDefinition_notifyWorkflowMethod(self, ob, method_id, args=None, kw
% method_id)
if not self._checkTransitionGuard(tdef, ob):
raise Unauthorized(method_id)
self._changeStateOf(ob, tdef)
self._changeStateOf(ob, tdef, kw)
if getattr(ob, 'reindexObject', None) is not None:
ob.reindexObject()
......
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