Files
Odoo-Build/snippets/account.report_invoice_document.get_position.xml
T
2025-05-28 11:06:54 +02:00

17 lines
486 B
XML

<data inherit_id="account.report_invoice_document" priority="51">
<xpath expr="//table[@name='invoice_line_table']//th[1]" position="before">
<t t-if="o.invoice_line_ids.sale_line_ids or o.invoice_line_ids.purchase_line_id">
<th id="position">
<span>Pos</span>
</th>
</t>
</xpath>
<xpath expr="//table[@name='invoice_line_table']//t[1]/td[1]" position="before">
<td id="position">
<span t-esc="line.position"/>
</td>
</xpath>
</data>