Commit 6b6df573 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Use Core Folder.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11847 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a8a0ebc6
...@@ -31,7 +31,7 @@ from AccessControl import ClassSecurityInfo ...@@ -31,7 +31,7 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5.Document.Image import Image from Products.ERP5.Document.Image import Image
from Products.ERP5Type import Permissions, PropertySheet from Products.ERP5Type import Permissions, PropertySheet
from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type.Document.Folder import Folder from Products.ERP5Type.Core.Folder import Folder
class Agent(Folder, Image): class Agent(Folder, Image):
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
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.Document.Folder import Folder from Products.ERP5Type.Core.Folder import Folder
from Products.ERP5.Document.Coordinate import Coordinate from Products.ERP5.Document.Coordinate import Coordinate
from Products.ERP5.Document.MetaNode import MetaNode from Products.ERP5.Document.MetaNode import MetaNode
import string import string
......
...@@ -30,7 +30,7 @@ from Globals import InitializeClass ...@@ -30,7 +30,7 @@ from Globals import InitializeClass
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.Document.Folder import Folder from Products.ERP5Type.Core.Folder import Folder
from Products.ERP5.Document.Document import Document from Products.ERP5.Document.Document import Document
class Binder(Folder, Document): class Binder(Folder, Document):
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
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.Document.Folder import Folder from Products.ERP5Type.Core.Folder import Folder
from zLOG import LOG from zLOG import LOG
......
...@@ -32,7 +32,7 @@ import threading ...@@ -32,7 +32,7 @@ import threading
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from AccessControl.SecurityManagement import newSecurityManager from AccessControl.SecurityManagement import newSecurityManager
from Globals import InitializeClass, DTMLFile, PersistentMapping from Globals import InitializeClass, DTMLFile, PersistentMapping
from Products.ERP5Type.Document.Folder import Folder from Products.ERP5Type.Core.Folder import Folder
from Products.ERP5Type.Tool.BaseTool import BaseTool from Products.ERP5Type.Tool.BaseTool import BaseTool
from Products.ERP5Type import Permissions from Products.ERP5Type import Permissions
from Products.ERP5 import _dtmldir from Products.ERP5 import _dtmldir
......
...@@ -30,7 +30,7 @@ from Products.CMFCore.utils import UniqueObject ...@@ -30,7 +30,7 @@ from Products.CMFCore.utils import UniqueObject
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Globals import InitializeClass, DTMLFile, PersistentMapping from Globals import InitializeClass, DTMLFile, PersistentMapping
from Products.ERP5Type.Document.Folder import Folder from Products.ERP5Type.Core.Folder import Folder
from Products.ERP5Type import Permissions from Products.ERP5Type import Permissions
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
...@@ -44,6 +44,8 @@ from BTrees.Length import Length ...@@ -44,6 +44,8 @@ from BTrees.Length import Length
class IdTool(UniqueObject, Folder): class IdTool(UniqueObject, Folder):
""" """
This tools handles the generation of IDs. This tools handles the generation of IDs.
TODO - XXX: please use base tool
""" """
id = 'portal_ids' id = 'portal_ids'
meta_type = 'ERP5 Id Tool' meta_type = 'ERP5 Id Tool'
......
...@@ -30,7 +30,7 @@ from Products.CMFCore.utils import UniqueObject ...@@ -30,7 +30,7 @@ from Products.CMFCore.utils import UniqueObject
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Globals import InitializeClass, DTMLFile from Globals import InitializeClass, DTMLFile
from Products.ERP5Type.Document.Folder import Folder from Products.ERP5Type.Core.Folder import Folder
from Products.ERP5Type import Permissions from Products.ERP5Type import Permissions
from Products.ERP5 import _dtmldir from Products.ERP5 import _dtmldir
...@@ -80,6 +80,8 @@ class RuleTool (UniqueObject, Folder): ...@@ -80,6 +80,8 @@ class RuleTool (UniqueObject, Folder):
Status : OK Status : OK
NEW NAME : Rules Tool NEW NAME : Rules Tool
TODO: XXX Please use BaseTool
""" """
id = 'portal_rules' id = 'portal_rules'
meta_type = 'ERP5 Rule Tool' meta_type = 'ERP5 Rule Tool'
......
...@@ -31,7 +31,7 @@ from Products.CMFCore.utils import getToolByName ...@@ -31,7 +31,7 @@ from Products.CMFCore.utils import getToolByName
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Globals import InitializeClass, DTMLFile from Globals import InitializeClass, DTMLFile
from Products.ERP5Type.Document.Folder import Folder from Products.ERP5Type.Core.Folder import Folder
from Products.ERP5Type import Permissions from Products.ERP5Type import Permissions
from Products.ERP5Type.Tool.BaseTool import BaseTool from Products.ERP5Type.Tool.BaseTool import BaseTool
...@@ -63,6 +63,7 @@ class SimulationTool (BaseTool): ...@@ -63,6 +63,7 @@ class SimulationTool (BaseTool):
- -
TODO: XXX please use BaseTool
""" """
id = 'portal_simulation' id = 'portal_simulation'
meta_type = 'ERP5 Simulation Tool' meta_type = 'ERP5 Simulation Tool'
......
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