Commit 884e02d1 authored by Jérome Perrin's avatar Jérome Perrin

reset numbering when creating a new group of sub requirements

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23115 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c0d4a6a8
...@@ -158,6 +158,7 @@ for key in clean_requirements_key_list:\n ...@@ -158,6 +158,7 @@ for key in clean_requirements_key_list:\n
, int_index = int_index\n , int_index = int_index\n
, description = description_dict[key]\n , description = description_dict[key]\n
)\n )\n
sub_requirement_int_index = 0\n
for second_level in clean_requirements[key]:\n for second_level in clean_requirements[key]:\n
sub_requirement_int_index += 10\n sub_requirement_int_index += 10\n
new_2nd_requirement = new_1st_requirement.newContent( portal_type = requirement_type\n new_2nd_requirement = new_1st_requirement.newContent( portal_type = requirement_type\n
......
564 565
\ No newline at end of file \ No newline at end of file
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