<?xml version="1.0"?>
<search string="Inventory Valuation">
                <field name="product_id"/>
                <field name="reference"/>
                <field name="categ_id"/>
                <field name="product_tmpl_id"/>
                <field name="warehouse_id" groups="stock.group_stock_multi_warehouses"/>
                <field name="company_id" groups="base.group_multi_company"/>
                <separator/>
                <filter string="Incoming" name="incoming" domain="[('stock_move_id.location_id.usage', 'not in', ('internal', 'transit')), ('stock_move_id.location_dest_id.usage', 'in', ('internal', 'transit'))]"/>
                <filter string="Outgoing" name="outgoing" domain="[('stock_move_id.location_id.usage', 'in', ('internal', 'transit')), ('stock_move_id.location_dest_id.usage', 'not in', ('internal', 'transit'))]"/>
                <separator/>
                <filter string="Has Remaining Qty" name="has_remaining_qty" domain="[('remaining_qty', '&gt;', 0)]"/>
                <group expand="0" string="Group by...">
                    <filter string="Product" name="group_by_product_id" context="{'group_by': 'product_id'}"/>
                    <filter string="Lot/Serial Number" name="group_by_lot_id" context="{'group_by': 'lot_id'}"/>
                    <filter string="Product Category" name="group_by_categ_id" context="{'group_by': 'categ_id'}"/>
                    <filter string="Date" name="group_by_created_date" context="{'group_by': 'create_date'}"/>
                    <filter string="Company" name="group_by_company_id" context="{'group_by': 'company_id'}" groups="base.group_multi_company"/>
                </group>
            </search>
        