<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2022 Akretion (https://www.akretion.com).
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="view_inventory_form" model="ir.ui.view">
        <field
            name="name"
        >Inventory form view - stock_inventory_usability extension</field>
        <field name="model">stock.inventory</field>
        <field name="inherit_id" ref="stock.view_inventory_form" />
        <field name="arch" type="xml">
            <field name="prefill_counted_quantity" position="attributes">
                <attribute name="invisible">1</attribute>
            </field>
            <field name="exhausted" position="attributes">
                <attribute name="invisible">1</attribute>
            </field>
            <field name="accounting_date" position="attributes">
                <attribute name="invisible">1</attribute>
            </field>
            <field name="product_ids" position="after">
                <field name="estimated_inventory_lines" readonly="1" states="draft"/>
            </field>
        </field>
    </record>

</odoo>
