<?xml version="1.0"?>
<field name="qty_available" position="before">
                    <field name="company_currency_id" column_invisible="True"/>
                    <field name="cost_method" column_invisible="True"/>
                    <field name="avg_cost" string="Unit Cost" optional="show" widget="monetary" options="{'currency_field': 'company_currency_id'}"/>
                    <field name="total_value" string="Total Value" optional="show" widget="monetary" options="{'currency_field': 'company_currency_id'}" sum="Total Value"/>
                    <button name="626" title="Valuation Report" type="action" class="btn-link" icon="fa-bar-chart" context="{'search_default_product_id': id, 'default_product_id': id}" invisible="cost_method != 'average'"/>
                    <button name="627" title="Valuation Report" type="action" class="btn-link" icon="fa-bar-chart" context="{'search_default_product_id': id, 'default_product_id': id}" invisible="cost_method != 'fifo'"/>
                </field>
            