Commit 4bea7902 authored by Jérome Perrin's avatar Jérome Perrin

Add property sheet definitions


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3907 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 940e5a3d
...@@ -48,7 +48,15 @@ class Preference( Folder ): ...@@ -48,7 +48,15 @@ class Preference( Folder ):
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
# Declarative properties
property_sheets = ( PropertySheet.Base
, PropertySheet.XMLObject
, PropertySheet.DublinCore
, PropertySheet.Preference
, PropertySheet.AccountingPreferences
)
# Declarative security # Declarative security
security = ClassSecurityInfo() security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.View) security.declareObjectProtected(Permissions.View)
......
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