mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot: count only really active hosts
This commit is contained in:
parent
250d48e266
commit
d534f5a5e2
@ -117,7 +117,7 @@ class Runbot(Controller):
|
|||||||
'pending_total': pending_count,
|
'pending_total': pending_count,
|
||||||
'pending_level': level,
|
'pending_level': level,
|
||||||
'scheduled_count': scheduled_count,
|
'scheduled_count': scheduled_count,
|
||||||
'hosts_data': request.env['runbot.host'].search([]),
|
'hosts_data': request.env['runbot.host'].search([('assigned_only', '=', False)]),
|
||||||
}
|
}
|
||||||
if project:
|
if project:
|
||||||
domain = [('last_batch', '!=', False), ('project_id', '=', project.id), ('no_build', '=', False)]
|
domain = [('last_batch', '!=', False), ('project_id', '=', project.id), ('no_build', '=', False)]
|
||||||
|
Loading…
Reference in New Issue
Block a user