diff --git a/product/ERP5Form/Form.py b/product/ERP5Form/Form.py index 58702d65acea0e7cf2976898bebe855f91476c57..366966b642dc66951202de4a74554f6ed2a1b6bb 100644 --- a/product/ERP5Form/Form.py +++ b/product/ERP5Form/Form.py @@ -955,7 +955,7 @@ class ERP5Form(ZMIForm, ZopePageTemplate): 'related_proxy_list': []} def iterate(document): for i in document.objectValues(): - if i.meta_type == 'ERP5 Form' and '_view' in i.getId(): + if i.meta_type == 'ERP5 Form': for field in i.objectValues(): if field.meta_type == 'ProxyField': key = "%s.%s" % (field.get_value('form_id'),