diff --git a/product/ERP5Form/Form.py b/product/ERP5Form/Form.py
index 69f541e7cbee8e1da27024ec5b72114bd6c1d587..2b9f4fd812430dda03835d6f406e08eec7052298 100644
--- a/product/ERP5Form/Form.py
+++ b/product/ERP5Form/Form.py
@@ -780,7 +780,10 @@ class ERP5Form(ZMIForm, ZopePageTemplate):
 # utility function
 def get_field_meta_type_and_proxy_flag(field):
     if field.meta_type=='ProxyField':
-        return field.getRecursiveTemplateField().meta_type, True
+        try:
+            return field.getRecursiveTemplateField().meta_type, True
+        except AttributeError:
+            raise AttributeError, 'The proxy target of %s field does not exists. Please check the field setting.' % field.getId()
     else:
         return field.meta_type, False