<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="fully_invoice_fully_invoiced_filters_view_search" model="ir.ui.view">
        <field name="name">fully_invoice_full_invoiced_filters</field>
        <field name="model">purchase.order</field>
        <field name="inherit_id" ref="purchase.purchase_order_view_search" />
        <field name="arch" type="xml">
            <filter name="invoiced" position="after">
                <filter
                    name="is_fully_shipped"
                    string="Is Fully Shipped"
                    domain="[('is_fully_shipped', '=', True)]"
                    help="Purchase orders with all quantitiess Fully Shipped"
                />
            </filter>
        </field>
    </record>
    <record id="is_fully_shipped_purchase_order_view_tree" model="ir.ui.view">
        <field name="name">received_status.purchase.order.tree</field>
        <field name="model">purchase.order</field>
        <field name="inherit_id" ref="purchase.purchase_order_view_tree" />
        <field name="arch" type="xml">
            <field name="invoice_status" position="before">
                <field name="is_fully_shipped" invisible="1" />
            </field>
        </field>
    </record>
</odoo>
