• Ayush Tiwari's avatar
    erp5_catalog: New ERP5CatalogTool based on BaseTool from ERP5Type · 3aaaeac4
    Ayush Tiwari authored
    	- Remove copy-pasting all code from CatalogTool, better to rely on inheritence
    	- Remove unnecessary imports
    	- Add argument id in __init__ class
    	- Add functions _isBootstrapRequired and _bootstrap
    	- Update BusinessTemplate installation according to changes made in ERP5Catalog and Tool
    	- Explicilty add manage option tabs in Catalog Tool
    
    - Update testCopySupport according to changes in portal_catalog
    
    Its better to change the tests where they need to call getpath function of
    portal_catalog to use portal_catalog.getpath instead of portal_catalog.getPath,
    as we have overridden the 'getPath' function for CatalogTool class due to change
    in inherited class.
    3aaaeac4
__init__.py 2.44 KB