<?xml version="1.0"?>
<list editable="bottom" js_class="mrp_workorder_list_view" multi_edit="1">
                <field name="consumption" column_invisible="True"/>
                <field name="company_id" column_invisible="True"/>
                <field name="is_produced" column_invisible="True"/>
                <field name="is_user_working" column_invisible="True"/>
                <field name="product_uom_id" readonly="0" column_invisible="True"/>
                <field name="production_state" column_invisible="True"/>
                <field name="production_bom_id" column_invisible="True"/>
                <field name="qty_producing" column_invisible="True"/>
                <field name="time_ids" column_invisible="True"/>
                <field name="working_state" column_invisible="True"/>
                <field name="operation_id" column_invisible="True" domain="['|', ('bom_id', '=', production_bom_id), ('bom_id', '=', False)]" context="{'default_workcenter_id': workcenter_id, 'default_company_id': company_id}"/>
                <field name="name" string="Operation" readonly="state in ['cancel', 'done']"/>
                <field name="workcenter_id" readonly="state in ['cancel', 'done', 'progress']"/>
                <field name="product_id" optional="show"/>
                <field name="qty_remaining" optional="show" string="Quantity Remaining"/>
                <field name="finished_lot_id" optional="hide" string="Lot/Serial"/>
                <field name="date_start" optional="hide" readonly="state in ['progress', 'done', 'cancel']"/>
                <field name="date_finished" optional="hide" readonly="state in ['progress', 'done', 'cancel']"/>
                <field name="duration_expected" widget="float_time" sum="expected duration" readonly="state in ['cancel', 'done']"/>
                <field name="duration" widget="mrp_timer" invisible="production_state == 'draft'" readonly="is_user_working" sum="real duration"/>
                <field name="state" widget="badge" decoration-warning="state == 'progress'" decoration-success="state == 'done'" decoration-danger="state == 'cancel'" decoration-info="state not in ('progress', 'done', 'cancel')" column_invisible="parent and parent.state == 'draft'" invisible="production_state == 'draft'"/>
                <button name="button_start" type="object" title="Start" class="btn-success px-2" invisible="production_state in ('draft', 'done', 'cancel') or working_state == 'blocked' or state in ('done', 'cancel') or is_user_working" icon="fa-play"/>
                <button name="button_pending" type="object" title="Pause" class="btn-warning px-2" icon="fa-pause" invisible="production_state in ('draft', 'done', 'cancel') or working_state == 'blocked' or not is_user_working"/>
                <button name="button_finish" type="object" title="Done" class="btn-success px-2" icon="fa-check" invisible="production_state in ('draft', 'done', 'cancel') or working_state == 'blocked' or not is_user_working"/>
                <widget name="mo_view_list_dropdown"/>
                <field name="show_json_popover" column_invisible="True"/>
                <field name="json_popover" widget="mrp_workorder_popover" string=" " invisible="not show_json_popover" width="30px"/>
            </list>
        