• Vincent Pelletier's avatar
    Add an extra check on meta_type before automaticaly creating an SQLCatalog. · 168762f9
    Vincent Pelletier authored
    Add code to remove SQLCatalog instance when all content has been uninstalled.
    Do not get/set SQLCatalog properties on portal_catalog.getSQLCatalog() (which is the default catalog) but on the catalog corresponding to the ZSQLMethods being worked with. Thiw adds a limitation on business templates : all ZSQLMethods in a given business template must belong to the same SQLCatalog.
    Remove an extra (useless) default catalog gathering.
    Add dependency checking before business template preinstall and install.
    
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11878 20353a03-c40f-0410-a6d1-a30d3c3de9de
    168762f9
BusinessTemplate.py 184 KB