diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getFieldParameterDict.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getFieldParameterDict.xml index 5976de3eb2acf9038213d5e603f7fb889ec7bed5..41fb3f1f40658977e021d3887894a354ff525811 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getFieldParameterDict.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getFieldParameterDict.xml @@ -55,7 +55,8 @@ based on its id\n """\n pieces = context.getId().split(\'_\')\n -if pieces.pop(0) != \'my\':\n +prefix = pieces.pop(0)\n +if prefix != \'my\' and prefix != \'listbox\':\n return {} # this should not happen\n \n if pieces[-1] == \'list\':\n diff --git a/product/ERP5/bootstrap/erp5_core/bt/change_log b/product/ERP5/bootstrap/erp5_core/bt/change_log index d4744e86cd3aa13f8626d8fa0abd0b4ae3cea7c8..70ec5b63cce0e0c6fc6c66a63d68e992d1819ac2 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/change_log +++ b/product/ERP5/bootstrap/erp5_core/bt/change_log @@ -1,3 +1,6 @@ +2014-01-27 arnaud.fontaine +* Allow getting field parameter dict for a ListBox field. + 2014-01-27 arnaud.fontaine * Likewise a non-ListBox field, call custom edit() if available (eg encapsulated editor). For example, MultiRelationStringField does not return a plain value, but a MultiRelationEditor overriding Base_edit default behavior. diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index a21eb5aa2d62cc2db21ae56c87203151faa93c91..cdc5af610d772bfd9d2ee9fe2133547316908bbf 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -41150 \ No newline at end of file +41151 \ No newline at end of file