Commit d8a4b510 authored by Xiaowu Zhang's avatar Xiaowu Zhang

WorkflowTool: ignore unexpected parameters

See merge request nexedi/erp5!1466
parents cdef346a c350303c
Pipeline #16649 failed with stage
in 0 seconds
...@@ -305,7 +305,7 @@ def reassignWorkflowWithoutConversion(self): ...@@ -305,7 +305,7 @@ def reassignWorkflowWithoutConversion(self):
WorkflowTool.reassignWorkflowWithoutConversion = reassignWorkflowWithoutConversion WorkflowTool.reassignWorkflowWithoutConversion = reassignWorkflowWithoutConversion
WorkflowTool.security.declareProtected(Permissions.AccessContentsInformation, WorkflowTool.security.declareProtected(Permissions.AccessContentsInformation,
'getWorkflowTempObjectList') 'getWorkflowTempObjectList')
def getWorkflowTempObjectList(self, temp_object=1): def getWorkflowTempObjectList(self, temp_object=1, **kw):
""" Return a list of converted temporary workflows. Only necessary in """ Return a list of converted temporary workflows. Only necessary in
Workflow Tool to get temporarilly converted DCWorkflow. Workflow Tool to get temporarilly converted DCWorkflow.
""" """
......
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