[FIX] runbot: Wrong syntax in the batch template.

This commit is contained in:
AnhBT 2025-03-12 10:54:34 +07:00 committed by William Braeckman (wbr)
parent e44ac41a19
commit d8d9f411b1

View File

@ -129,7 +129,7 @@
</td> </td>
<td> <td>
<t t-foreach="reference_batch_ids.sorted(lambda b: b.bundle_id.version_id.number, reverse=True)" t-as="reference_batch"> <t t-foreach="reference_batch_ids.sorted(lambda b: b.bundle_id.version_id.number, reverse=True)" t-as="reference_batch">
<div t-att-title="f'Created {s2human(reference_batch.create_date - batch.create_date)} before this one'"> <div t-attf-title="Created {{s2human(reference_batch.create_date - batch.create_date)}} before this one">
<a t-attf-href="/runbot/batch/{{reference_batch.id}}"><t t-out="reference_batch.bundle_id.version_id.name"/> (<t t-out="reference_batch.id"/>)</a> <a t-attf-href="/runbot/batch/{{reference_batch.id}}"><t t-out="reference_batch.bundle_id.version_id.name"/> (<t t-out="reference_batch.id"/>)</a>
</div> </div>
</t> </t>