[IMP] runbot: add upgrade from base

This commit is contained in:
Xavier-Do 2023-06-02 16:17:00 +02:00
parent c4b795a5dc
commit 368275b08b

View File

@ -860,7 +860,7 @@ class ConfigStep(models.Model):
return
kwargs = dict(message='Step %s finished in %s' % (self.name, s2human(build.job_time)))
if self.job_type == 'install_odoo' or (self.job_type == 'python' and '_run_install_odoo' in self.python_code):
if self.job_type == 'install_odoo':
kwargs['message'] += ' $$fa-download$$'
db_suffix = build.params_id.config_data.get('db_name') or (build.params_id.dump_db.db_suffix if not self.create_db else False) or self.db_name
kwargs['path'] = '%s%s-%s.zip' % (build.http_log_url(), build.dest, db_suffix)