Commit 9fce467d authored by Jean-Paul Smets's avatar Jean-Paul Smets

Default TALES value must be a TALES expression.

(this is the only consistent way which is compatible with display in fields and accessor invocation)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12656 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e7178d53
...@@ -45,7 +45,7 @@ class BaseCategory: ...@@ -45,7 +45,7 @@ class BaseCategory:
{ 'id' : 'acquisition_portal_type', { 'id' : 'acquisition_portal_type',
'description' : 'The portal types to browse', 'description' : 'The portal types to browse',
'type' : 'tales', 'type' : 'tales',
'default' : [], 'default' : 'python:[]',
'multivalued' : 1, 'multivalued' : 1,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'fallback_base_category', { 'id' : 'fallback_base_category',
......
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