From c5bf48a4cac2fdc03a86c560d3858798b9c2b713 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Wed, 3 Nov 2010 10:18:25 +0000
Subject: [PATCH] No need to list fields already proxyfied

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39828 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Form/dtml/formProxify.dtml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/product/ERP5Form/dtml/formProxify.dtml b/product/ERP5Form/dtml/formProxify.dtml
index 8e80e7c416..fc00dc8fac 100644
--- a/product/ERP5Form/dtml/formProxify.dtml
+++ b/product/ERP5Form/dtml/formProxify.dtml
@@ -27,6 +27,7 @@ Keep empty values <input type="checkbox" name="keep_empty_value"> <br/>
 </tr>
 
 <dtml-in objectValues sort=id>
+<dtml-if "_['sequence-item'].meta_type != 'ProxyField'">
 <dtml-let temp="getProxyableFieldList(_['sequence-item'], form_field_list)"
           form_order="temp[0]"
           matched="temp[1]">
@@ -61,6 +62,7 @@ Keep empty values <input type="checkbox" name="keep_empty_value"> <br/>
 </tr>
 
 </dtml-let>
+</dtml-if>
 </dtml-in>
 </table>
 
-- 
2.30.9