From 624cf8a782c3d365c823d5a15ec8e08f4bf3a008 Mon Sep 17 00:00:00 2001 From: mreul Date: Mon, 19 Feb 2024 14:02:42 +0000 Subject: [PATCH] Update testserver_o2b/models/init_test.py --- testserver_o2b/models/init_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testserver_o2b/models/init_test.py b/testserver_o2b/models/init_test.py index 8097ef5..0ea93f4 100644 --- a/testserver_o2b/models/init_test.py +++ b/testserver_o2b/models/init_test.py @@ -23,8 +23,8 @@ class IrLogging(models.Model): UPDATE ir_config_parameter set value = 'M160129258730' where key = 'database.enterprise_code'; UPDATE ir_config_parameter set value = (NOW() + INTERVAL '30 DAY') where key = 'database.expiration_date'; UPDATE ir_config_parameter set value = '%s' where key = 'database.uuid'; - INSERT INTO ir_mail_server(smtp_host,smtp_port,name,smtp_authentication,smtp_encryption,active) VALUES ('127.0.0.1','1025','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','mailcatcher','login','name','t'); + 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'); """ %(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';""")