Commit e455d02f authored by Arnaud Fontaine's avatar Arnaud Fontaine

Using PropertySheet module is deprecated since ZODB Property Sheets.

parent 5432fba8
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
############################################################################## ##############################################################################
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet from Products.ERP5Type import Permissions
from Products.ERP5Type.Base import Base from Products.ERP5Type.Base import Base
from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter
...@@ -45,13 +45,12 @@ class DocumentComponent(Base): ...@@ -45,13 +45,12 @@ class DocumentComponent(Base):
security.declareObjectProtected(Permissions.AccessContentsInformation) security.declareObjectProtected(Permissions.AccessContentsInformation)
# Declarative properties # Declarative properties
property_sheets = ( PropertySheet.Base property_sheets = ('Base',
, PropertySheet.XMLObject 'XMLObject',
, PropertySheet.CategoryCore 'CategoryCore',
, PropertySheet.DublinCore 'DublinCore',
, PropertySheet.Version 'Version',
, PropertySheet.TextDocument 'TextDocument')
)
def loadComponent(self): def loadComponent(self):
""" """
......
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