<odoo>
    <record id="stock_valuation_layer_form" model="ir.ui.view">
        <field name="name">stock.valuation.layer.form</field>
        <field name="model">stock.valuation.layer</field>
        <field name="inherit_id" ref="stock_account.stock_valuation_layer_form" />
        <field name="arch" type="xml">
            <notebook position="inside">
                <page name="usage" string="Usage">
                    <field name="usage_ids" />
                </page>
                <page
                    name="incoming_usage"
                    string="Incoming Usage"
                    attrs="{'invisible': [('incoming_usage_ids', '=', [])]}"
                >
                    <field name="incoming_usage_ids" />
                </page>
            </notebook>
        </field>
    </record>
</odoo>
