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 @@
#
##############################################################################
from Products.CMFCore.Expression import Expression
class BaseCategory:
"""
Properties for BaseCategory Objects
......@@ -45,7 +47,7 @@ class BaseCategory:
{ 'id' : 'acquisition_portal_type',
'description' : 'The portal types to browse',
'type' : 'tales',
'default' : [],
'default' : Expression('python: []'),
'multivalued' : 1,
'mode' : 'w' },
{ '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