Update testserver_o2b/models/init_test.py

Sorry maar ben zat, heb 5 keer geinstalleerd, 5 keer zelfde foutmelding.
This commit is contained in:
2025-12-02 06:00:20 +00:00
parent 8c446cea63
commit 0a74030009

View File

@@ -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';""")