<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 Open Source Integrators
     License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="view_sale_order_filter" model="ir.ui.view">
        <field name="name">sale.order.select - sale_tier_validation</field>
        <field name="model">sale.order</field>
        <field name="inherit_id" ref="sale.view_sales_order_filter" />
        <field name="arch" type="xml">
            <filter name="my_sale_orders_filter" position="after">
                <filter
                    name="needs_review"
                    string="Needs my Review"
                    domain="[('reviewer_ids','in',uid), ('state', 'not in', ['sale', 'cancel'])]"
                    help="My Sales to review"
                />
                <filter
                    name="tier_validated"
                    string="Validated"
                    domain="[('validated', '=', True)]"
                    help="SOs validated and ready to be confirmed"
                />
            </filter>
        </field>
    </record>
</odoo>
