[FIX] runbot: manual is on trigger, not slot

This commit is contained in:
Xavier-Do 2020-10-15 11:28:20 +02:00
parent f9272cb207
commit bd69c0dfa0

View File

@ -118,7 +118,7 @@
<tr>
<td>Builds</td>
<td>
<t t-foreach="batch.slot_ids.filtered(lambda s: not s.manual)" t-as="slot">
<t t-foreach="batch.slot_ids.filtered(lambda s: not s.trigger_id.manual)" t-as="slot">
<t t-call="runbot.slot_button"/>
</t>
</td>
@ -126,7 +126,7 @@
<tr>
<td>Manual</td>
<td>
<t t-foreach="batch.slot_ids.filtered(lambda s: s.manual)" t-as="slot">
<t t-foreach="batch.slot_ids.filtered(lambda s: s.trigger_id.manual)" t-as="slot">
<t t-call="runbot.slot_button"/>
</t>
</td>