Files
Odoo-Build/snippets/account.report_invoice_document.show_hs_code2.xml
T
2025-04-27 19:47:05 +02:00

12 lines
518 B
XML

<data inherit_id="account.report_invoice_document" priority="60">
<xpath expr="//table[@name='invoice_line_table']//th[@name='th_quantity']" position="before">
<th name="th_hs_code" class="text-start">
<span>HS-Code</span>
</th>
</xpath>
<xpath expr="//table[@name='invoice_line_table']//span[@t-field='line.quantity']/.." position="before">
<td name="td_hs_code" class="text-right">
<span t-esc="line.product_id.hs_code"/>
</td>
</xpath>
</data>