<?xml version="1.0" encoding="UTF-8" ?>
<odoo>

    <template id="report_delivery_document" inherit_id="stock.report_delivery_document">
        <xpath expr="//table[1]/thead/tr/th[1]" position="before">
            <th><strong>Seq.</strong></th>
        </xpath>
        <xpath expr="//table[1]/tbody/tr/td[1]" position="before">
            <td><span t-field="move.sequence2" /></td>
        </xpath>
        <xpath expr="//table[2]/thead/tr/th[1]" position="before">
            <th><strong>Seq.</strong></th>
        </xpath>
    </template>

    <template
        id="report_delivery_has_serial_moveline"
        inherit_id="stock.stock_report_delivery_has_serial_move_line"
    >
        <xpath expr="//td[1]" position="before">
            <td><span t-field="move_line.move_id.sequence2" /></td>
        </xpath>
    </template>

    <template
        id="report_delivery_aggregated_moveline"
        inherit_id="stock.stock_report_delivery_aggregated_move_lines"
    >
        <xpath expr="//td[1]" position="before">
            <td class="text-center" name="move_line_aggregated_sequence2">
                <t t-if=" 'sequence2' in aggregated_lines[line]">
                    <span t-esc="aggregated_lines[line]['sequence2']" />
                </t>
            </td>
        </xpath>
    </template>

</odoo>
