Commit f15eccda authored by Sebastien Robin's avatar Sebastien Robin

acquisition portal type is a tales expression


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2816 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e57039c9
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
# #
############################################################################## ##############################################################################
from Products.CMFCore.Expression import Expression
class BaseCategory: class BaseCategory:
""" """
Properties for BaseCategory Objects Properties for BaseCategory Objects
...@@ -45,7 +47,7 @@ class BaseCategory: ...@@ -45,7 +47,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' : Expression('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