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 6b55ee40565b912db621de1c3951fc285f5d4492..df8f4ce14758f1efc95d33b3927b67c2ab1c5dd0 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
@@ -158,6 +158,7 @@ for key in clean_requirements_key_list:\n
                                               , int_index   = int_index\n
                                               , description = description_dict[key]\n
                                               )\n
+  sub_requirement_int_index = 0\n
   for second_level in clean_requirements[key]:\n
     sub_requirement_int_index += 10\n
     new_2nd_requirement = new_1st_requirement.newContent( portal_type = requirement_type\n
diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision
index 18133faa4c390be86679ce450d86d69567bfcf5c..ccd47f3c25863cc95ace711c10e09115865a582a 100644
--- a/bt5/erp5_project/bt/revision
+++ b/bt5/erp5_project/bt/revision
@@ -1 +1 @@
-564
\ No newline at end of file
+565
\ No newline at end of file