diff --git a/product/ERP5Type/patches/WorkflowTool.py b/product/ERP5Type/patches/WorkflowTool.py
index 44cd5e6f87ba6f4c880320dbbacd5c0a3e3951a4..9e582958a7b1900ecba8ceb6ad060c7e2f742713 100644
--- a/product/ERP5Type/patches/WorkflowTool.py
+++ b/product/ERP5Type/patches/WorkflowTool.py
@@ -65,7 +65,7 @@ class ExclusionTuple(tuple):
   """
   pass
 
-def ImmutableId_setId(self):
+def ImmutableId_setId(self, id):
   """ patch which allows modifying the Id of portal_workflow
       for the sake of workflow tool migration.
   """