mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[IMP] runbot: add dl link for python steps
This commit is contained in:
parent
368275b08b
commit
f6f88a9e04
@ -860,7 +860,7 @@ class ConfigStep(models.Model):
|
|||||||
return
|
return
|
||||||
|
|
||||||
kwargs = dict(message='Step %s finished in %s' % (self.name, s2human(build.job_time)))
|
kwargs = dict(message='Step %s finished in %s' % (self.name, s2human(build.job_time)))
|
||||||
if self.job_type == 'install_odoo':
|
if self.job_type == 'install_odoo' or (self.job_type == 'python' and '_run_install_odoo' in self.python_code):
|
||||||
kwargs['message'] += ' $$fa-download$$'
|
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
|
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)
|
kwargs['path'] = '%s%s-%s.zip' % (build.http_log_url(), build.dest, db_suffix)
|
||||||
|
Loading…
Reference in New Issue
Block a user