Files
Odoo-Build/snippets/stock.report_delivery_document.show_default_code.xml
T

26 lines
911 B
XML

<data inherit_id="stock.report_delivery_document" priority="50">
<xpath expr="//table[@name='stock_move_table']" position="before">
<style>
th#default_code,
td#default_code {
white-space: nowrap;
}
</style>
</xpath>
<xpath expr="//table[@name='stock_move_table']//th[@name='th_sm_product']" position="before">
<th id="default_code" name="th_default_code">
<strong>Referenz</strong>
</th>
</xpath>
<!-- <xpath expr="//table[@name='stock_backorder_table']/thead/tr/th[1]" position="before">
<th id="default_code">
<strong >Nr.</strong>
</th>
</xpath> -->
<xpath expr="//table[@name='stock_move_table']//span[@t-field='move.product_id']/.." position="before">
<td id="default_code" name="td_default_code">
<span t-field="move.product_id.default_code"/>
</td>
</xpath>
</data>