<?xml version="1.0"?>
<data><xpath expr="//field[@name='product_uom_id']" position="after">
                <field name="currency_id" invisible="1"/>
                <field name="cost_method" invisible="1"/>
                <field name="value" optional="hidden" sum="Total Value"/>
            </xpath>
            <xpath expr="//button[@name='action_view_orderpoints']" position="after">
                <button name="585" title="Stock Valuation" string="Valuation" type="action" class="btn-link" icon="fa-bar-chart" context="{'search_default_product_id': product_id}" attrs="{'invisible': [('cost_method', '!=', 'fifo')]}"/>
            </xpath>
        </data>