<?xml version="1.0"?>
<t t-name="mrp.mo_overview_line">
        <tr>
            <td class="text-start">
                <div t-attf-style="margin-left: {{ line['level'] * 20 }}px" class="d-inline-block" t-out="line['name']"/>
            </td>
            <td t-if="data['show_replenishments']" class="text-center" t-out="line.get('formatted_state', '')"/>
            <td t-attf-class="text-end {{ data['get_color'](line.get('quantity_decorator')) }}">
                <t t-if="line.get('model') == 'mrp.workorder'" t-out="line['quantity']" t-options="{'widget': 'float_time'}"/>
                <t t-else="" t-out="line['quantity']" t-options="{'widget': 'float', 'precision': line['uom_precision']}"/>
            </td>
            <td t-if="data['show_uom']" class="text-start" t-out="line['uom_name']"/>
            <td t-if="data['show_availabilities']" class="text-end">
                <t t-if="line.get('quantity_on_hand', False) is not False">
                    <t t-out="line['quantity_free']" t-options="{'widget': 'float', 'precision': line['uom_precision']}"/> /
                    <t t-out="line['quantity_on_hand']" t-options="{'widget': 'float', 'precision': line['uom_precision']}"/>
                </t>
            </td>
            <td t-if="data['show_availabilities']" class="text-end">
                <t t-if="line.get('quantity_reserved', False) is not False" t-out="line['quantity_reserved']" t-options="{'widget': 'float', 'precision': line['uom_precision']}"/>
            </td>
            <td t-if="data['show_receipts']" class="text-end">
                <span t-if="line.get('receipt')" t-att-class="data['get_color'](line['receipt'].get('decorator'))" t-out="line['receipt']['display']"/>
            </td>
            <td class="text-end" t-if="data['show_unit_costs']">
                <t t-out="line['unit_cost']" t-options="{'widget': 'monetary', 'display_currency': line['currency']}"/>
            </td>
            <td t-if="data['show_mo_costs']" t-attf-class="text-end {{ data['get_color'](line.get('mo_cost_decorator')) }}">
                <t t-out="line['mo_cost']" t-options="{'widget': 'monetary', 'display_currency': line['currency']}"/>
            </td>
            <td t-if="data['show_bom_costs']" class="text-end">
                <t t-out="line['bom_cost']" t-options="{'widget': 'monetary', 'display_currency': line['currency']}"/>
            </td>
            <td t-if="data['show_real_costs']" class="text-end">
                <t t-out="line['real_cost']" t-options="{'widget': 'monetary', 'display_currency': line['currency']}"/>
            </td>
        </tr>
    </t>

    