Commit cf1b521d authored by Romain Courteaud's avatar Romain Courteaud

Bud and Predicate have to be subclasses of XMLObject.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14338 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 99fd8468
......@@ -30,10 +30,11 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5Type.Core.Folder import Folder
from Products.ERP5Type.XMLObject import XMLObject
from zLOG import LOG
class Bug( Folder ):
class Bug(XMLObject, Folder):
"""
Bug means a bug report, a feature request or an issue.
"""
......
......@@ -35,11 +35,12 @@ from Products.CMFCore.utils import getToolByName
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5Type.Core.Folder import Folder
from Products.ERP5Type.Document import newTempBase
from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type.Utils import convertToUpperCase
from zLOG import LOG
class Predicate(Folder):
class Predicate(XMLObject, Folder):
"""
A Predicate object defines a list of criterions
which can be applied to test a document or to search for documents.
......
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