• Ayush Tiwari's avatar
    Products.ERP5Catalog: EPR5-ify catalog. · 8a4496f5
    Ayush Tiwari authored
    Move from SQLCatalog to ERP5Catalog as the default Catalog inside ERP5.
    The major difference is use of Products.ERP5Type.Core.Folder as Catalog
    base class.
    
    Significant changes:
    	-Inherit from Catalog class from Products.ZSQLCatalog.SQLCatalog instead of copy-pasting the whole code again.
    	-Add allowed_types for ERP5Catalog tool
    	-Monkey patch some property setters and getters to maintain consistency
    	-Update id and title for ERP5Catlog while class initialization
    	-Set declarative securities and solve some inheritance conflicts
    	-Add isRADContent for ERP5Catalog Class
     	-Solve inheritence conflict for _setPropValue function in ERP5Catalog class
    	-Add SQL Method portal_type in allowed_types for ERP5Catalog class
    	-Override getCatalogMethodIds cause it uses global variable in SQLCatalog.Catalog
    	-Redefine security declarations
    	-Add functions for object_actions of Catalog portal_type in ERP5Catalog object
    	-Add filter_dict and _properties attributes for compatibilty
    8a4496f5
__init__.py 2.37 KB