mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot: only use normal builds to display stats
This commit is contained in:
parent
b252800205
commit
2bbe346e75
@ -430,7 +430,11 @@ class Runbot(Controller):
|
|||||||
return request.not_found()
|
return request.not_found()
|
||||||
|
|
||||||
builds_domain = [
|
builds_domain = [
|
||||||
('global_state', 'in', ('running', 'done')), ('global_result', '=', 'ok'), ('slot_ids.batch_id.bundle_id', '=', bundle_id), ('params_id.trigger_id', '=', trigger.id),
|
('build_type', '=', 'normal'),
|
||||||
|
('global_state', 'in', ('running', 'done')),
|
||||||
|
('global_result', '=', 'ok'),
|
||||||
|
('slot_ids.batch_id.bundle_id', '=', bundle_id),
|
||||||
|
('params_id.trigger_id', '=', trigger.id),
|
||||||
]
|
]
|
||||||
builds = request.env['runbot.build']
|
builds = request.env['runbot.build']
|
||||||
if center_build_id:
|
if center_build_id:
|
||||||
|
Loading…
Reference in New Issue
Block a user