19 lines
600 B
XML
19 lines
600 B
XML
<?xml version="1.0"?>
|
|
<data inherit_id="purchase.report_purchaseorder_document" priority="50">
|
|
<xpath expr="//table/thead/tr/th[1]" position="before">
|
|
<th>
|
|
<span>Pos</span>
|
|
</th>
|
|
</xpath>
|
|
<xpath expr="//t[@t-foreach='o.order_line']" position="before">
|
|
<span t-set="index" t-value="1"/>
|
|
</xpath>
|
|
<xpath expr="//table/tbody/t/tr/t[1]/td[1]" position="before">
|
|
<td>
|
|
<!-- <span t-esc="line.sequence - 9"/> -->
|
|
<span t-esc="index"/>
|
|
<t t-set="index" t-value="index+1"/>
|
|
</td>
|
|
</xpath>
|
|
</data>
|