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 @@
#
##############################################################################
import zope.interface
from Products.ERP5Type.Globals import InitializeClass
from AccessControl import ClassSecurityInfo
from Products.CMFCore.utils import getToolByName
......@@ -102,6 +103,9 @@ class SimulationMovement(Movement):
security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.AccessContentsInformation)
# Declarative interfaces
zope.interface.implements(interfaces.IPropertyRecordable,)
# Declarative properties
property_sheets = ( PropertySheet.Base
, 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