<?xml version="1.0"?>
<search string="Putaway Rules">
                <field name="product_id"/>
                <field name="category_id"/>
                <field name="location_in_id"/>
                <field name="location_out_id"/>
                <group expand="0" string="Filters">
                    <filter name="filter_to_rules_on_product" string="Rules on Products" domain="[('product_id', '!=', False)]"/>
                    <filter name="filter_to_rules_on_category" string="Rules on Categories" domain="[('category_id' ,'!=', False)]"/>
                </group>
                <group expand="0" string="Group By">
                        <filter string="Location: When arrives to" name="location_in" context="{'group_by':'location_in_id'}"/>
                        <filter string="Location: Store to" name="location_out" context="{'group_by':'location_out_id'}"/>
                    </group>
            </search>
        