Commit 319a6ad4 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Solve inheritence conflict for _setPropValue function in ERP5Catalog class

parent 61746025
...@@ -82,6 +82,9 @@ class ERP5Catalog(Folder, Catalog): ...@@ -82,6 +82,9 @@ class ERP5Catalog(Folder, Catalog):
# Declarative Constructors # Declarative Constructors
constructors = (manage_addERP5CatalogForm, manage_addERP5Catalog,) constructors = (manage_addERP5CatalogForm, manage_addERP5Catalog,)
# Use functions inherited from SQLCatalog for property setters
_setPropValue = Catalog._setPropValue
def __init__(self, id, title='', container=None): def __init__(self, id, title='', container=None):
# Initialize both SQLCatalog as well as Folder # Initialize both SQLCatalog as well as Folder
Catalog.__init__(self, id, title='', container=None) Catalog.__init__(self, id, title='', container=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