Commit 1acd3168 authored by Yusei Tahara's avatar Yusei Tahara

2008-09-24 yusei

* Fixed a bug in Requirement_generateRequirements.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23788 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6a98d824
......@@ -132,8 +132,9 @@ for requirement_item in requirements_items:\n
clean_requirements_key_list.append(new_1st_level_requirement_title)\n
\n
int_index = 0\n
if len(destination_obj.contentValues()):\n
int_index = max([req.getIntIndex() for req in destination_obj.contentValues()])\n
destination_object_subobject_list = destination_obj.contentValues(checked_permission=\'View\')\n
if len(destination_object_subobject_list):\n
int_index = max([req.getIntIndex() for req in destination_object_subobject_list])\n
\n
sub_requirement_int_index = 0\n
int_index_step = 10\n
......@@ -227,6 +228,7 @@ return context.Base_redirect(form_id,\n
<string>new_1st_level_requirement_title</string>
<string>new_2nd_level_feat</string>
<string>int_index</string>
<string>destination_object_subobject_list</string>
<string>len</string>
<string>max</string>
<string>append</string>
......
2008-09-24 yusei
* Fixed a bug in Requirement_generateRequirements.
2008-09-22 yusei
* Fixed Generate References bug.
......
605
\ No newline at end of file
607
\ 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