<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2021 ACSONE SA/NV
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>

    <record model="ir.ui.view" id="stock_quant_package_form_view">
        <field
            name="name"
        >stock.quant.package.form (in internal_stock_quant_package)</field>
        <field name="model">stock.quant.package</field>
        <field name="inherit_id" ref="stock.view_quant_package_form" />
        <field name="arch" type="xml">
            <field name="package_type_id" position="before">
                <field name="is_internal" />
            </field>
        </field>
    </record>

    <record model="ir.ui.view" id="stock_quant_package_search_view">
        <field
            name="name"
        >stock.quant.package.search (in internal_stock_quant_package)</field>
        <field name="model">stock.quant.package</field>
        <field name="inherit_id" ref="stock.quant_package_search_view" />
        <field name="arch" type="xml">
            <field name="package_type_id" position="after">
                 <filter
                    string="Internal"
                    name="internal"
                    domain="[('is_internal','=',True)]"
                />
            </field>
        </field>
    </record>

    <record model="ir.ui.view" id="stock_quant_package_tree_view">
        <field
            name="name"
        >stock.quant.package.tree (in internal_stock_quant_package)</field>
        <field name="model">stock.quant.package</field>
        <field name="inherit_id" ref="stock.view_quant_package_tree" />
        <field name="arch" type="xml">
            <field name="package_type_id" position="before">
                <field name="is_internal" />
            </field>
        </field>
    </record>

</odoo>
