<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record model="ir.ui.view" id="view_stock_quant_tree_inherit">
        <field name="name">stock.quant.list.inherit</field>
        <field name="model">stock.quant</field>
        <field name="inherit_id" ref="stock.view_stock_quant_tree"></field>
        <field name="arch" type="xml">
            <xpath expr="//field[@name='product_uom_id']" position="after">
                <field name="currency_id" column_invisible="True"/>
                <field name="value" optional="hidden"/>
            </xpath>
        </field>
    </record>

    <record model="ir.ui.view" id="view_stock_quant_tree_editable_inherit">
        <field name="name">stock.quant.list.editable.inherit</field>
        <field name="model">stock.quant</field>
        <field name="inherit_id" ref="stock.view_stock_quant_tree_editable"></field>
        <field name="arch" type="xml">
            <xpath expr="//field[@name='product_uom_id']" position="after">
                <field name="currency_id" column_invisible="True"/>
                <field name="cost_method" column_invisible="True"/>
                <field name="value" optional="hidden" sum="Total Value"/>
            </xpath>
        </field>
    </record>

    <record id="view_stock_quant_tree_inventory_editable_inherit_stock_account" model="ir.ui.view">
        <field name="name">stock.quant.inventory.list.editable.inherit.stock.account</field>
        <field name="model">stock.quant</field>
        <field name="inherit_id" ref="stock.view_stock_quant_tree_inventory_editable"/>
        <field name="arch" type="xml">
            <xpath expr="//field[@name='product_uom_id']" position="after">
                <field name="accounting_date" optional="hide"/>
            </xpath>
        </field>
    </record>
</odoo>
