Files
Odoo-Build/snippets/account.report_invoice_document.subtotal_or_total.xml
T
2025-09-08 17:01:24 +02:00

18 lines
998 B
XML

<data inherit_id="account.report_invoice_document" priority="50">
<xpath expr="//th[@name='th_subtotal']" position="replace">
<th name="th_subtotal" class="text-end">
<span groups="gds_invoice.group_show_line_subtotals_tax_excluded">Amount</span>
<span groups="gds_invoice.group_show_line_subtotals_tax_included">Total Amount</span>
<!--
<span groups="gds_invoice.group_show_line_subtotals_tax_excluded">Betrag</span>
<span groups="gds_invoice.group_show_line_subtotals_tax_included">Gesamtbetrag</span>
-->
</th>
</xpath>
<xpath expr="//td[@name='td_subtotal']" position="replace">
<td name="td_subtotal" class="text-end o_price_total">
<span t-field="line.price_subtotal" groups="gds_invoice.group_show_line_subtotals_tax_excluded"/>
<span t-field="line.price_total" groups="gds_invoice.group_show_line_subtotals_tax_included"/>
</td>
</xpath>
</data>