diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py index 27708bf2a251534037018ea3245bc16c53b18c79..2acb6281a6f70572742aceec4c84d8d381022dcf 100644 --- a/product/ERP5/ERP5Site.py +++ b/product/ERP5/ERP5Site.py @@ -972,7 +972,7 @@ class ERP5Generator(PortalGenerator): # Add Default SQL connection if p.erp5_sql_connection_type == 'Z MySQL Database Connection': if not p.hasObject('erp5_sql_connection'): - addSQLConnection = p.manage_addProduct['ZSQLMethods'].manage_addZMySQLConnection + addSQLConnection = p.manage_addProduct['ZMySQLDA'].manage_addZMySQLConnection addSQLConnection('erp5_sql_connection', 'ERP5 SQL Server Connection', p.erp5_sql_connection_string) elif p.erp5_sql_connection_type == 'Z Gadfly': pass @@ -980,7 +980,7 @@ class ERP5Generator(PortalGenerator): # Add Deferred SQL Connections if p.erp5_sql_deferred_connection_type == 'Z MySQL Deferred Database Connection': if not p.hasObject('erp5_sql_deferred_connection'): - addSQLConnection = p.manage_addProduct['ZSQLMethods'].manage_addZMySQLDeferredConnection + addSQLConnection = p.manage_addProduct['ZMySQLDDA'].manage_addZMySQLDeferredConnection addSQLConnection('erp5_sql_deferred_connection', 'ERP5 SQL Server Deferred Connection', p.erp5_sql_deferred_connection_string) elif p.erp5_sql_deferred_connection_type == 'Z Gadfly': pass @@ -988,7 +988,7 @@ class ERP5Generator(PortalGenerator): # Add Activity SQL Connections if p.cmf_activity_sql_connection_type == 'Z MySQL Database Connection': if not p.hasObject('cmf_activity_sql_connection'): - addSQLConnection = p.manage_addProduct['ZSQLMethods'].manage_addZMySQLConnection + addSQLConnection = p.manage_addProduct['ZMySQLDA'].manage_addZMySQLConnection addSQLConnection('cmf_activity_sql_connection', 'CMF Activity SQL Server Connection', p.cmf_activity_sql_connection_string) elif p.cmf_activity_sql_connection_type == 'Z Gadfly': pass