Commit f0a4b25a authored by Jean-Paul Smets's avatar Jean-Paul Smets

Removed dependency to ancient Core. Left commented class def to remind to...

Removed dependency to ancient Core. Left commented class def to remind to create Interfaces to replace ancient Core classes.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11848 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6b6df573
......@@ -30,7 +30,7 @@ from Globals import InitializeClass
from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Base, Permissions, PropertySheet, Constraint, Interface
from Products.ERP5.Core import MetaNode, MetaResource
#from Products.ERP5.Core import MetaNode, MetaResource
from Products.CMFCore.WorkflowCore import WorkflowMethod
from Products.ERP5Type.XMLObject import XMLObject
......
......@@ -30,7 +30,7 @@ from Globals import InitializeClass
from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Base, Permissions, PropertySheet, Constraint, Interface
from Products.ERP5.Core import MetaNode, MetaResource
#from Products.ERP5.Core import MetaNode, MetaResource
from Products.CMFCore.WorkflowCore import WorkflowMethod
from Products.ERP5Type.XMLObject import XMLObject
......
......@@ -30,7 +30,7 @@ from Globals import InitializeClass
from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Base, Permissions, PropertySheet, Constraint, Interface
from Products.ERP5.Core import MetaNode, MetaResource
#from Products.ERP5.Core import MetaNode, MetaResource
from Products.CMFCore.WorkflowCore import WorkflowMethod
from Products.ERP5Type.XMLObject import XMLObject
......
......@@ -30,7 +30,7 @@ from Globals import InitializeClass
from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Base, Permissions, PropertySheet, Constraint, Interface
from Products.ERP5.Core import MetaNode, MetaResource
#from Products.ERP5.Core import MetaNode, MetaResource
from Products.CMFCore.WorkflowCore import WorkflowMethod
from Products.ERP5Type.XMLObject import XMLObject
......
......@@ -29,12 +29,12 @@
from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5.Core.MetaNode import MetaNode as CoreMetaNode
#from Products.ERP5.Core.MetaNode import MetaNode as CoreMetaNode
from Products.ERP5.Document.Organisation import Organisation as Node
#from Node import Node
#class MetaNode(Node, CoreMetaNode):
class MetaNode(Node, CoreMetaNode):
class MetaNode(Node):
"""
A Node
"""
......
......@@ -29,10 +29,11 @@
from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5.Core.MetaResource import MetaResource as CoreMetaResource
#from Products.ERP5.Core.MetaResource import MetaResource as CoreMetaResource
from Products.ERP5.Document.Resource import Resource
class MetaResource(Resource, CoreMetaResource):
#class MetaResource(Resource, CoreMetaResource):
class MetaResource(Resource):
"""
A Resource
"""
......
......@@ -32,7 +32,7 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5Type.Base import Base
from Products.ERP5.Core import MetaNode, MetaResource
#from Products.ERP5.Core import MetaNode, MetaResource
from Products.ERP5Type.XMLObject import XMLObject
......
......@@ -31,9 +31,11 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5.Core.MetaNode import MetaNode
#from Products.ERP5.Core.MetaNode import MetaNode
#from Products.ERP5.Document.MetaNode import MetaNode
class Organisation(MetaNode, XMLObject):
#class Organisation(MetaNode, XMLObject):
class Organisation(XMLObject):
"""
An Organisation object holds the information about
an organisation (ex. a division in a company, a company,
......
......@@ -30,7 +30,7 @@ from Globals import InitializeClass
from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5.Core import MetaNode, MetaResource
#from Products.ERP5.Core import MetaNode, MetaResource
from Products.ERP5.Document.MappedValue import MappedValue
......
......@@ -30,7 +30,7 @@
from AccessControl import ClassSecurityInfo
from Products.CMFCore.utils import getToolByName
from Products.ERP5.Core.Node import Node
#from Products.ERP5.Core.Node import Node
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5Type.Utils import assertAttributePortalType
......@@ -48,7 +48,8 @@ try :
except ImportError:
pw_encrypt = lambda pw:pw
class Person(Node, XMLObject):
#class Person(Node, XMLObject):
class Person(XMLObject):
"""
An Person object holds the information about
an person (ex. you, me, someone in the company,
......
......@@ -33,7 +33,7 @@ from Acquisition import aq_base, aq_inner
from Products.CMFCore.utils import getToolByName
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5Type.Document.Folder import Folder
from Products.ERP5Type.Core.Folder import Folder
from Products.ERP5Type.Document import newTempBase
from Products.ERP5Type.Utils import convertToUpperCase
......
......@@ -38,14 +38,15 @@ from Products.ERP5Type.XMLMatrix import XMLMatrix
from Products.ERP5Type.Base import Base
from Products.ERP5.Variated import Variated
from Products.ERP5.Core.Resource import Resource as CoreResource
#from Products.ERP5.Core.Resource import Resource as CoreResource
from Products.CMFCore.WorkflowCore import WorkflowMethod
from Products.CMFCategory.Renderer import Renderer
from Products.CMFCore.utils import getToolByName
from zLOG import LOG, WARNING
class Resource(XMLMatrix, CoreResource, Variated):
#class Resource(XMLMatrix, CoreResource, Variated):
class Resource(XMLMatrix, Variated):
"""
A Resource
"""
......
......@@ -31,9 +31,10 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5.Core import Variation
#from Products.ERP5.Core import Variation
class Variation(XMLObject, Variation):
#class Variation(XMLObject, Variation):
class Variation(XMLObject):
"""
A Variation
"""
......
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