Commit d81b220a authored by Yusei Tahara's avatar Yusei Tahara

Show all same type fields in default form library.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20228 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 70b07c0a
...@@ -740,13 +740,13 @@ class ERP5Form(ZMIForm, ZopePageTemplate): ...@@ -740,13 +740,13 @@ class ERP5Form(ZMIForm, ZopePageTemplate):
'proxy_flag':proxy_flag, 'proxy_flag':proxy_flag,
'matched_rate':0 'matched_rate':0
} }
if not default_field_library_path in form_order:
matched_append(default_field_library_path, if not i in [item['field_object']
matched_item) for item in matched.get(default_field_library_path, ())]:
if not default_field_library_path in \ matched_append(default_field_library_path, matched_item)
perfect_matched_form_order: if not i in [item['field_object']
perfect_matched_append(default_field_library_path, for item in perfect_matched.get(default_field_library_path, ())]:
matched_item) perfect_matched_append(default_field_library_path, matched_item)
id_ = field.getId() id_ = field.getId()
meta_type = field.meta_type meta_type = field.meta_type
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment