mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +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_level': level,
|
||||
'scheduled_count': scheduled_count,
|
||||
'hosts_data': request.env['runbot.host'].search([]),
|
||||
'hosts_data': request.env['runbot.host'].search([('assigned_only', '=', False)]),
|
||||
}
|
||||
if project:
|
||||
domain = [('last_batch', '!=', False), ('project_id', '=', project.id), ('no_build', '=', False)]
|
||||
|
Loading…
Reference in New Issue
Block a user