Commit d251bfd8 authored by Sebastien Robin's avatar Sebastien Robin

listbox is also a special keyword in forms, this allows

this kind of link : listbox_reference -> my_reference

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30576 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bb71ca9c
......@@ -759,7 +759,8 @@ class ERP5Form(ZMIForm, ZopePageTemplate):
def getProxyableFieldList(self, field, form_field_list=None):
""""""
def extract_keyword(name):
return [i for i in name.split('_') if not i in ('my', 'default')]
return [i for i in name.split('_') if not i in \
('my', 'default', 'listbox')]
def check_keyword_list(name, keyword_list):
count = 0
......
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