<?xml version="1.0"?>
<tree sample="1" js_class="stock_report_list_view">
                <field name="id" invisible="1"/>
                <field name="display_name" string="Product"/>
                <field name="categ_id" optional="hide"/>
                <field name="qty_available" string="On Hand" sum="Total On Hand"/>
                <button name="541" title="Inventory Adjustment" type="action" class="btn-link" icon="fa-pencil" context="{'search_default_product_id': id, 'default_product_id': id}"/>
                <field name="free_qty" string="Free to Use" sum="Total Free to Use"/>
                <field name="incoming_qty" optional="show" sum="Total Incoming"/>
                <field name="outgoing_qty" optional="show" sum="Total Outgoing"/>
                <field name="virtual_available" string="Forecasted" optional="hide" sum="Total Forecasted"/>
                <field name="uom_id" string="Unit" groups="uom.group_uom" options="{'no_create': True}"/>
                <button name="549" string="History" type="action" class="btn-link" icon="fa-history" context="{'search_default_product_id': id, 'default_product_id': id}"/>
                <button name="action_view_orderpoints" string="Replenishment" type="object" class="btn-link" icon="fa-refresh" context="{'search_default_product_id': id, 'is_stock_report': True}"/>
                <button name="542" string="Locations" type="action" class="btn-link" groups="stock.group_stock_multi_locations" icon="fa-cubes" context="{'search_default_product_id': id, 'default_product_id': id}" attrs="{'invisible': [('qty_available', '=', 0)]}"/>
                <button name="action_product_forecast_report" string="Forecast" type="object" class="btn-link" icon="fa-area-chart" context="{'default_product_id': id}" attrs="{'invisible': [('incoming_qty', '=', 0), ('outgoing_qty', '=', 0)]}"/>
            </tree>
        