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

    <record id="pos_payment_method_view_form" model="ir.ui.view">
        <field name="name">pos.payment.method.inherit.form</field>
        <field name="model">pos.payment.method</field>
        <field name="inherit_id" ref="point_of_sale.pos_payment_method_view_form" />
        <field name="arch" type="xml">
            <field name="split_transactions" position="after">
                <field name="credit_limit_restricted" />
            </field>
        </field>
    </record>

    <record id="pos_payment_method_view_tree" model="ir.ui.view">
        <field name="name">pos.payment.method.inherit.tree</field>
        <field name="model">pos.payment.method</field>
        <field name="inherit_id" ref="point_of_sale.pos_payment_method_view_tree" />
        <field name="arch" type="xml">
            <tree position="inside">
                <field name="credit_limit_restricted" optional="hide" />
            </tree>
        </field>
    </record>

</odoo>
