Commit e5ba6e45 authored by Ayush Tiwari's avatar Ayush Tiwari

erp_catalog: Use id from the current object while initialization

parent feef636c
...@@ -348,8 +348,8 @@ class CatalogTool (BaseTool, ZCatalog, CMFCoreCatalogTool): ...@@ -348,8 +348,8 @@ class CatalogTool (BaseTool, ZCatalog, CMFCoreCatalogTool):
objectValues = BaseTool.objectValues objectValues = BaseTool.objectValues
def __init__(self): def __init__(self):
ZCatalog.__init__(self, self.getId()) ZCatalog.__init__(self, self.getId())
BaseTool.__init__(self, id) BaseTool.__init__(self, self.getId())
# Filter content (ZMI)) # Filter content (ZMI))
def filtered_meta_types(self, user=None): def filtered_meta_types(self, user=None):
......
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