<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="view_stock_quant_tree_inventory_editable" model="ir.ui.view">
        <field name="model">stock.quant</field>
        <field name="inherit_id" ref="stock.view_stock_quant_tree_inventory_editable" />
        <field name="arch" type="xml">
            <field name="inventory_diff_quantity" position="after">
                <field name="currency_id" invisible="1" />
                <field
                    name="adjustment_cost"
                    sum="Total"
                    optional="show"
                    attrs="{'invisible': [('inventory_quantity_set', '=', False)]}"
                />
            </field>
        </field>
    </record>
</odoo>
