Commit e12846ca authored by Alexandre Boeglin's avatar Alexandre Boeglin

generate_field_key() was called on the wrong object.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2268 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 217cc526
......@@ -1516,7 +1516,10 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')">
# Add item to list_result_item for list render format
if render_format == 'list':
current_listboxline.addColumn(property_id , my_field._get_default(self.generate_field_key(), attribute_original_value, o))
column_value = my_field._get_default(my_field.generate_field_key(), attribute_original_value, o)
if type(column_value) is type(''):
column_value = unicode(column_value, 'utf-8')
current_listboxline.addColumn(property_id , column_value)
else:
# Check if url_columns defines a method to retrieve the URL.
......
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