<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2024 ACSONE SA/NV
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
  <record model="ir.ui.view" id="res_config_settings_view_form">
    <field name="model">res.config.settings</field>
    <field name="priority" eval="95" />
    <field name="inherit_id" ref="point_of_sale.res_config_settings_view_form" />
    <field name="arch" type="xml">
      <xpath expr="//div[@id='pos_payment_section']" position="inside">
        <div class="col-12 col-lg-6 o_setting_box">
            <div class="o_setting_left_pane">
                <field name="pos_payment_amount_readonly" />
            </div>
            <div class="o_setting_right_pane">
                <label for="pos_payment_amount_readonly" />
                <div class="text-muted">
                    Payment lines amount would be readonly
                </div>
            </div>
        </div>
      </xpath>
    </field>
  </record>
</odoo>
