diff --git a/product/ERP5/tests/testXHTML.py b/product/ERP5/tests/testXHTML.py
index b699393b97e5f262a583207a6fa60f480e36c8e2..a27061a6f13a35777bba35c8bc2cffbe372fa042 100644
--- a/product/ERP5/tests/testXHTML.py
+++ b/product/ERP5/tests/testXHTML.py
@@ -210,8 +210,7 @@ class TestXHTML(ERP5TypeTestCase):
     for form_path, form in skins_tool.ZopeFind(
               skins_tool, obj_metatypes=['ERP5 Form'], search_sub=1):
       for field in self.getFieldList(form, form_path):
-        if field.meta_type == 'ListBox' or field.meta_type == 'ProxyField' and\
-            field.getRecursiveTemplateField().meta_type == 'ListBox':
+        if field.getRecursiveTemplateField().meta_type == 'ListBox':
           selection_name = field.get_value("selection_name")
           if selection_name in ("",None):
             error_list.append(form_path)
@@ -224,8 +223,7 @@ class TestXHTML(ERP5TypeTestCase):
     for form_path, form in skins_tool.ZopeFind(
               skins_tool, obj_metatypes=['ERP5 Form'], search_sub=1):
       for field in self.getFieldList(form, form_path):
-        if field.meta_type == 'ListBox' or field.meta_type == 'ProxyField' and\
-            field.getRecursiveTemplateField().meta_type == 'ListBox':
+        if field.getRecursiveTemplateField().meta_type == 'ListBox':
           list_method = field.get_value("list_method")
           if list_method:
             if isinstance(list_method, str):
@@ -243,8 +241,7 @@ class TestXHTML(ERP5TypeTestCase):
     for form_path, form in skins_tool.ZopeFind(
               skins_tool, obj_metatypes=['ERP5 Form'], search_sub=1):
       for field in self.getFieldList(form, form_path):
-        if field.meta_type == 'ListBox' or field.meta_type == 'ProxyField' and\
-            field.getRecursiveTemplateField().meta_type == 'ListBox':
+        if field.getRecursiveTemplateField().meta_type == 'ListBox':
           list_action = field.get_value("list_action")
           if list_action and list_action != 'list': # We assume that 'list'
                                                     # list_action exists