diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_generateRequirements.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_generateRequirements.xml
index d9729818368d2c46cc36f51bbfb06d6930b036d2..a607cd47144625b2e682045041962c65cafb11b9 100644
--- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_generateRequirements.xml
+++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_generateRequirements.xml
@@ -86,7 +86,7 @@ for requirement_line in listbox:\n
     requirements_items.append(requirement)\n
 \n
 # sort the requirements list by id to have the same order of the user\n
-requirements_items.sort(x=lambda x: x[\'id\'])\n
+requirements_items.sort(key=lambda x: x[\'id\'])\n
 \n
 clean_requirements = {}\n
 clean_requirements_key_list = [] # use a list for keys, to keep ordering\n
diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision
index 51d3b0f9e1ed09bed37ad2f52babf96e8953a42f..e25083957df158256c00cacc73de6051af19ddd8 100644
--- a/bt5/erp5_project/bt/revision
+++ b/bt5/erp5_project/bt/revision
@@ -1 +1 @@
-617
\ No newline at end of file
+618
\ No newline at end of file