diff --git a/testserver_o2b/models/init_test.py b/testserver_o2b/models/init_test.py index 55d2d75..5c47e16 100644 --- a/testserver_o2b/models/init_test.py +++ b/testserver_o2b/models/init_test.py @@ -26,7 +26,6 @@ class IrLogging(models.Model): INSERT INTO ir_mail_server(smtp_host,smtp_port,name,smtp_authentication,smtp_encryption,active) VALUES ('127.0.0.1','1025','Lokale mailcatcher','login','name','t'); INSERT INTO ir_mail_server(smtp_host,smtp_port,name,smtp_authentication,smtp_encryption,active) VALUES ('192.168.78.199','1025','Algemene mailcatcher','login','name','t'); UPDATE website SET google_analytics_key = NULL WHERE google_analytics_key IS NOT NULL; - UPDATE product_template SET is_published = FALSE WHERE is_published = TRUE; """ %(db_id)) if self.env['ir.config_parameter'].search([('key','=','web.base.url.freeze')]): self.env.cr.execute("""DELETE FROM ir_config_parameter WHERE key = 'web.base.url.freeze';""")