From 0373d155dbba6df9cca2e0cf1a23ce262fa3ac6a Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Thu, 17 Jan 2008 14:22:33 +0000
Subject: [PATCH] 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
---
 product/ERP5Form/ListBox.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py
index 43e373109a..b003231831 100644
--- a/product/ERP5Form/ListBox.py
+++ b/product/ERP5Form/ListBox.py
@@ -2497,7 +2497,9 @@ class ListBox(ZMIField):
         # 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
         # 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,
                                   request,
                                   render_format=kw.get('render_format'))
-- 
2.30.9