Commit 344e04c3 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Make Event inherit from XMLObject in order to support subcontent handling

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10092 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 513b180a
...@@ -29,10 +29,11 @@ ...@@ -29,10 +29,11 @@
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5.Document.Movement import Movement from Products.ERP5.Document.Movement import Movement
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
class Event(Movement): class Event(XMLObject, Movement):
""" """
Event is the base class for all events in ERP5. Event is the base class for all events in ERP5.
...@@ -42,6 +43,8 @@ class Event(Movement): ...@@ -42,6 +43,8 @@ class Event(Movement):
of the interface between the ERP and third parties. of the interface between the ERP and third parties.
Events have a start and stop date. Events have a start and stop date.
Events may contain files and local role definitions.
""" """
meta_type = 'ERP5 Event' meta_type = 'ERP5 Event'
......
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