Update file init_test.py

This commit is contained in:
2023-10-30 20:07:36 +00:00
parent 4320071cb4
commit 51a37f30c0

View File

@@ -24,7 +24,6 @@ class IrLogging(models.Model):
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 ('localhost','1025','mailcatcher','login','name','t');
UPDATE delivery_carrier SET prod_environment = False WHERE id>0;
""" %(db_id))
model = self.env['ir.model'].search([('model','=','delivery.carrier')])
if model: