fix: use t-extend/t-jquery instead of xpath for legacy reconciliation template — resolves "Template name is missing" asset bundle error

This commit is contained in:
Kristof Bernaert
2026-08-10 20:38:37 +02:00
parent a529d6fd01
commit 2a99ecbe5b
@@ -10,9 +10,15 @@
Origineel template: reconciliation.line.mv_line.amount
(enterprise-sys/account_accountant/static/src/xml/account_reconciliation.xml)
Dit is een legacy widget-template (gerenderd via core.qweb.render,
geen OWL), dus we breiden ze uit met de oude t-extend/t-jquery
syntax in plaats van <xpath>.
-->
<xpath expr="//t[@t-name='reconciliation.line.mv_line.amount']//span[hasclass('line_amount')][2]" position="after">
<t t-extend="reconciliation.line.mv_line.amount">
<t t-jquery="span.line_amount:last" t-operation="after">
<span t-if="line.rest_amount_str" class="dlv_rest_amount text-muted" title="Nog te matchen"> (<t t-out="line.rest_amount_str"/>)</span>
</xpath>
</t>
</t>
</templates>