<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="pos_config_view_form_inherit_pos_elavon" model="ir.ui.view">
        <field name="name">pos.config.form.inherit.elavon</field>
        <field name="model">pos.config</field>
        <field name="inherit_id" ref="point_of_sale.pos_config_view_form"/>
        <field name="arch" type="xml">
            <xpath expr="//div[@id='payment_methods']" position="after">
                <div class="col-12 col-lg-6 o_setting_box" id="pos_elavon">
                    <div class="o_setting_right_pane">
                        <span class="o_form_label">Elavon</span>
                        <div>
                            <button name="%(pos_elavon.action_configuration_form)d" icon="fa-arrow-right" type="action" string="Elavon Accounts" class="btn-link"/>
                        </div>
                    </div>
                </div>
            </xpath>
        </field>
    </record>
    
</odoo>
