[Erp5-report] r11848 - /erp5/trunk/products/ERP5/Document/
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jan 3 02:48:09 CET 2007
Author: jp
Date: Wed Jan 3 02:48:05 2007
New Revision: 11848
URL: http://svn.erp5.org?rev=11848&view=rev
Log:
Removed dependency to ancient Core. Left commented class def to remind to create Interfaces to replace ancient Core classes.
Modified:
erp5/trunk/products/ERP5/Document/Immobilisation.py
erp5/trunk/products/ERP5/Document/ImmobilisationCell.py
erp5/trunk/products/ERP5/Document/ImmobilisationLine.py
erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py
erp5/trunk/products/ERP5/Document/MetaNode.py
erp5/trunk/products/ERP5/Document/MetaResource.py
erp5/trunk/products/ERP5/Document/Movement.py
erp5/trunk/products/ERP5/Document/Organisation.py
erp5/trunk/products/ERP5/Document/Path.py
erp5/trunk/products/ERP5/Document/Person.py
erp5/trunk/products/ERP5/Document/Predicate.py
erp5/trunk/products/ERP5/Document/Resource.py
erp5/trunk/products/ERP5/Document/Variation.py
Modified: erp5/trunk/products/ERP5/Document/Immobilisation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Immobilisation.py?rev=11848&r1=11847&r2=11848&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Immobilisation.py (original)
+++ erp5/trunk/products/ERP5/Document/Immobilisation.py Wed Jan 3 02:48:05 2007
@@ -30,7 +30,7 @@
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
Modified: erp5/trunk/products/ERP5/Document/ImmobilisationCell.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/ImmobilisationCell.py?rev=11848&r1=11847&r2=11848&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/ImmobilisationCell.py (original)
+++ erp5/trunk/products/ERP5/Document/ImmobilisationCell.py Wed Jan 3 02:48:05 2007
@@ -30,7 +30,7 @@
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
Modified: erp5/trunk/products/ERP5/Document/ImmobilisationLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/ImmobilisationLine.py?rev=11848&r1=11847&r2=11848&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/ImmobilisationLine.py (original)
+++ erp5/trunk/products/ERP5/Document/ImmobilisationLine.py Wed Jan 3 02:48:05 2007
@@ -30,7 +30,7 @@
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
Modified: erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py?rev=11848&r1=11847&r2=11848&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py (original)
+++ erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py Wed Jan 3 02:48:05 2007
@@ -30,7 +30,7 @@
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
Modified: erp5/trunk/products/ERP5/Document/MetaNode.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/MetaNode.py?rev=11848&r1=11847&r2=11848&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/MetaNode.py (original)
+++ erp5/trunk/products/ERP5/Document/MetaNode.py Wed Jan 3 02:48:05 2007
@@ -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
"""
Modified: erp5/trunk/products/ERP5/Document/MetaResource.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/MetaResource.py?rev=11848&r1=11847&r2=11848&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/MetaResource.py (original)
+++ erp5/trunk/products/ERP5/Document/MetaResource.py Wed Jan 3 02:48:05 2007
@@ -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
"""
Modified: erp5/trunk/products/ERP5/Document/Movement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Movement.py?rev=11848&r1=11847&r2=11848&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Movement.py (original)
+++ erp5/trunk/products/ERP5/Document/Movement.py Wed Jan 3 02:48:05 2007
@@ -32,7 +32,7 @@
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
Modified: erp5/trunk/products/ERP5/Document/Organisation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Organisation.py?rev=11848&r1=11847&r2=11848&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Organisation.py (original)
+++ erp5/trunk/products/ERP5/Document/Organisation.py Wed Jan 3 02:48:05 2007
@@ -31,9 +31,11 @@
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,
Modified: erp5/trunk/products/ERP5/Document/Path.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Path.py?rev=11848&r1=11847&r2=11848&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Path.py (original)
+++ erp5/trunk/products/ERP5/Document/Path.py Wed Jan 3 02:48:05 2007
@@ -30,7 +30,7 @@
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
Modified: erp5/trunk/products/ERP5/Document/Person.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Person.py?rev=11848&r1=11847&r2=11848&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Person.py (original)
+++ erp5/trunk/products/ERP5/Document/Person.py Wed Jan 3 02:48:05 2007
@@ -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 @@
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,
Modified: erp5/trunk/products/ERP5/Document/Predicate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Predicate.py?rev=11848&r1=11847&r2=11848&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Predicate.py (original)
+++ erp5/trunk/products/ERP5/Document/Predicate.py Wed Jan 3 02:48:05 2007
@@ -33,7 +33,7 @@
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
Modified: erp5/trunk/products/ERP5/Document/Resource.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Resource.py?rev=11848&r1=11847&r2=11848&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Resource.py (original)
+++ erp5/trunk/products/ERP5/Document/Resource.py Wed Jan 3 02:48:05 2007
@@ -38,14 +38,15 @@
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
"""
Modified: erp5/trunk/products/ERP5/Document/Variation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Variation.py?rev=11848&r1=11847&r2=11848&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Variation.py (original)
+++ erp5/trunk/products/ERP5/Document/Variation.py Wed Jan 3 02:48:05 2007
@@ -31,9 +31,10 @@
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
"""
More information about the Erp5-report
mailing list