Check op account_journal, anders werkt query niet
This commit is contained in:
@@ -22,10 +22,11 @@ class IrLogging(models.Model):
|
||||
DELETE FROM mail_mail;
|
||||
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';
|
||||
UPDATE account_journal set bank_statements_source = 'undefined';
|
||||
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 ('192.168.78.25','1025','mailcatcher','login','name','t');
|
||||
""" %(db_id))
|
||||
if self.env['ir.model'].search([('model','=','account.journal')]):
|
||||
self.env.cr.execute("""UPDATE account_journal set bank_statements_source = 'undefined';""")
|
||||
ip_ok = False
|
||||
with os.popen("ip a") as f:
|
||||
for x in f.readlines():
|
||||
|
||||
Reference in New Issue
Block a user