Files
Odoo-Build/snippets/stock.report_picking.pos_in_table.xml
T

17 lines
525 B
XML

<data inherit_id="stock.report_picking" priority="60">
<xpath expr="//table[1]/thead/tr/th[1]" position="before">
<th>
<strong>Pos</strong>
</th>
</xpath>
<xpath expr="//t[@t-foreach='o.move_ids_without_package']" position="before">
<span t-set="index" t-value="1"/>
</xpath>
<xpath expr="//table[1]/tbody/t//tr/td[1]" position="before">
<td>
<span t-esc="index"/>
<t t-set="index" t-value="index+1"/>
</td>
</xpath>
</data>