Commit 8cd54172 authored by Jérome Perrin's avatar Jérome Perrin

Don't set portal_type here, listbox portal_types are now used


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23090 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e97e24e0
...@@ -1133,7 +1133,6 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ): ...@@ -1133,7 +1133,6 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ):
kw['selection_name'] = selection_name kw['selection_name'] = selection_name
kw['selection_index'] = 0 # We start on the first page kw['selection_index'] = 0 # We start on the first page
kw['field_id'] = field.id kw['field_id'] = field.id
kw['portal_type'] = [x[0] for x in field.get_value('portal_type')]
parameter_list = field.get_value('parameter_list') parameter_list = field.get_value('parameter_list')
if len(parameter_list) > 0: if len(parameter_list) > 0:
for k,v in parameter_list: for k,v in parameter_list:
......
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