Commit 709715f2 authored by Nicolas Dumazet's avatar Nicolas Dumazet

add properties that are necessary to implement Portal Types as Python Classes


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38242 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c5759f16
...@@ -44,6 +44,21 @@ class BaseType: ...@@ -44,6 +44,21 @@ class BaseType:
'mode': 'w', 'mode': 'w',
'label': 'Product factory method' 'label': 'Product factory method'
}, },
{ 'id': 'type_class'
, 'type': 'string'
, 'mode': 'w'
, 'label': 'Document class the Portal Type inherits from'
},
{ 'id': 'type_mixin_list'
, 'type': 'lines'
, 'mode': 'w'
, 'label': 'List of Mixins that are attached to the Portal Type'
},
{ 'id': 'type_interface_list'
, 'type': 'lines'
, 'mode': 'w'
, 'label': 'List of Interfaces that the Portal Type implements'
},
{ 'id': 'type_add_permission', { 'id': 'type_add_permission',
'storage_id': 'permission', # CMF Compatibility 'storage_id': 'permission', # CMF Compatibility
'type': 'string', 'type': 'string',
......
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