Commit e4eaf913 authored by Aurel's avatar Aurel

don't rendre proxy field with display value


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5578 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3789d27d
......@@ -1759,7 +1759,7 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')">
#LOG('ListBox', 0, 'display_value = %r' % display_value)
if type(display_value) == type(u''):
display_value = display_value.encode('utf-8')
if my_field.meta_type not in ('DateTimeField', ):
if my_field.meta_type not in ('DateTimeField', 'ProxyField',):
cell_body = my_field.render(value = display_value, REQUEST = o, key = key)
# We use REQUEST which is not so good here
# This prevents from using standard display process
......
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