Update file init_test.py

This commit is contained in:
2023-10-30 20:06:37 +00:00
parent a14c779a1d
commit 4320071cb4

View File

@@ -24,8 +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');
CREATE TABLE [IF NOT EXISTS] account_online_link ( id VARCHAR(3) NOT NULL);
DELETE FROM account_online_link;
UPDATE delivery_carrier SET prod_environment = False WHERE id>0;
""" %(db_id))
model = self.env['ir.model'].search([('model','=','delivery.carrier')])