<?xml version="1.0"?>
<xpath expr="//button[@name='430']" position="after">
                <field name="show_enrich_button" invisible="1"/>
                <button string="Enrich" name="iap_enrich" type="object" class="btn btn-secondary" data-hotkey="g" title="Enrich lead with company data" attrs="{'invisible':['|',('show_enrich_button', '!=', True),('type','=','opportunity')]}"/>
                <button string="Enrich" name="iap_enrich" type="object" class="btn btn-secondary" data-hotkey="g" title="Enrich opportunity with company data" attrs="{'invisible':['|',('show_enrich_button', '!=', True),('type','=','lead')]}"/>
            </xpath>
        