Commit bcba0582 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Rename Folder module from OFS to remove conflict between it and...

erp5_catalog: Rename Folder module from OFS to remove conflict between it and the Folder module from ERP5Type.Core
parent 8f0f847f
...@@ -20,6 +20,7 @@ from App.class_init import default__class_init__ as InitializeClass ...@@ -20,6 +20,7 @@ from App.class_init import default__class_init__ as InitializeClass
from DateTime import DateTime from DateTime import DateTime
from Acquisition import Implicit, aq_base from Acquisition import Implicit, aq_base
from Persistence import Persistent from Persistence import Persistent
from OFS.Folder import Folder as OFSFolder
from Products.ERP5Type.Core.Folder import Folder from Products.ERP5Type.Core.Folder import Folder
from DocumentTemplate.DT_Util import InstanceDict, TemplateDict from DocumentTemplate.DT_Util import InstanceDict, TemplateDict
from DocumentTemplate.DT_Util import Eval from DocumentTemplate.DT_Util import Eval
...@@ -63,7 +64,7 @@ def manage_addZSQLCatalog(self, id, title, ...@@ -63,7 +64,7 @@ def manage_addZSQLCatalog(self, id, title,
return self.manage_main(self, REQUEST,update_menu=1) return self.manage_main(self, REQUEST,update_menu=1)
class ZCatalog(Folder, Persistent, Implicit): class ZCatalog(OFSFolder, Persistent, Implicit):
"""ZCatalog object """ZCatalog object
A ZCatalog contains arbirary index like references to Zope A ZCatalog contains arbirary index like references to Zope
......
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