Commit 630754a3 authored by Fabien Morin's avatar Fabien Morin

change getSubObjectValueList method name in getInheritedObjectValueList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18366 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cbb7b138
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
portal_type_list) in the paysheet\n portal_type_list) in the paysheet\n
\'\'\'\n \'\'\'\n
\n \n
sub_object_list = context.getSubObjectValueList(portal_type_list)\n sub_object_list = context.getInheritedObjectValueList(portal_type_list)\n
sub_object_uid_list = [x.getUid() for x in sub_object_list]\n sub_object_uid_list = [x.getUid() for x in sub_object_list]\n
\n \n
# copy model object\n # copy model object\n
......
...@@ -83,7 +83,7 @@ def sortByIntIndex(a, b):\n ...@@ -83,7 +83,7 @@ def sortByIntIndex(a, b):\n
\n \n
model = context.getSpecialiseValue(0)\n model = context.getSpecialiseValue(0)\n
portal_type_list = [\'Pay Sheet Model Line\']\n portal_type_list = [\'Pay Sheet Model Line\']\n
sub_object_list = context.getSubObjectValueList(portal_type_list)\n sub_object_list = context.getInheritedObjectValueList(portal_type_list)\n
sub_object_list.sort(sortByIntIndex)\n sub_object_list.sort(sortByIntIndex)\n
model_line_list = sub_object_list\n model_line_list = sub_object_list\n
\n \n
......
...@@ -86,7 +86,7 @@ def sortByIntIndex(a, b):\n ...@@ -86,7 +86,7 @@ def sortByIntIndex(a, b):\n
\n \n
model = context.getSpecialiseValue(0)\n model = context.getSpecialiseValue(0)\n
portal_type_list = [\'Pay Sheet Model Line\']\n portal_type_list = [\'Pay Sheet Model Line\']\n
sub_object_list = context.getSubObjectValueList(portal_type_list)\n sub_object_list = context.getInheritedObjectValueList(portal_type_list)\n
sub_object_list.sort(sortByIntIndex)\n sub_object_list.sort(sortByIntIndex)\n
model_line_list = sub_object_list\n model_line_list = sub_object_list\n
\n \n
......
195 196
\ 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