Commit 4f988829 authored by Alexandre Boeglin's avatar Alexandre Boeglin

removed Expression in default for acquisition_portal_type

- ERP5Type/Utils.py:1396 expects default to be a list
- ERP5Type/Accessor/List.py default getter does not try to evaluate 'default'


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