Commit 0373d155 authored by Yusei Tahara's avatar Yusei Tahara

Use field's oid in addition to generate unique key.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18773 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 86d24277
...@@ -2497,7 +2497,9 @@ class ListBox(ZMIField): ...@@ -2497,7 +2497,9 @@ class ListBox(ZMIField):
# here the field can be a a proxyfield target, in this case just find # here the field can be a a proxyfield target, in this case just find
# back the original proxy field so that renderer's calls to .get_value # back the original proxy field so that renderer's calls to .get_value
# are called on the proxyfield. # are called on the proxyfield.
field = request.get('field__proxyfield_%s_%s' % (self.id, id), self) field = request.get(
'field__proxyfield_%s_%s_%s' % (self.id, self._p_oid, id),
self)
return self.widget.render(field, self.generate_field_key(), None, return self.widget.render(field, self.generate_field_key(), None,
request, request,
render_format=kw.get('render_format')) render_format=kw.get('render_format'))
......
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