Commit 6dda1170 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use IPropertyRecordable in Simulation Movement (not yet implementated, though).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30466 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 591b2f2b
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
# #
############################################################################## ##############################################################################
import zope.interface
from Products.ERP5Type.Globals import InitializeClass from Products.ERP5Type.Globals import InitializeClass
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
...@@ -102,6 +103,9 @@ class SimulationMovement(Movement): ...@@ -102,6 +103,9 @@ class SimulationMovement(Movement):
security = ClassSecurityInfo() security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.AccessContentsInformation) security.declareObjectProtected(Permissions.AccessContentsInformation)
# Declarative interfaces
zope.interface.implements(interfaces.IPropertyRecordable,)
# Declarative properties # Declarative properties
property_sheets = ( PropertySheet.Base property_sheets = ( PropertySheet.Base
, PropertySheet.SimpleItem , PropertySheet.SimpleItem
......
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