<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2024 Raumschmiede GmbH
     Copyright 2024 BCIM
     Copyright 2024 ACSONE SA/NV
     License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>

    <record model="ir.ui.view" id="res_config_settings_form_view">
        <field name="model">res.config.settings</field>
        <field name="inherit_id" ref="rma.res_config_settings_view_form" />
        <field name="arch" type="xml">
            <xpath
                expr="//field[@name='group_rma_manual_finalization']/parent::div/parent::div"
                position="before"
            >
                <div class="col-12 col-lg-6 o_setting_box">
                    <div class="o_setting_left_pane">
                        <field name="is_rma_reason_required" />
                    </div>
                    <div class="o_setting_right_pane">
                        <label for="is_rma_reason_required" string="RMA Reason" />
                        <span
                            class="fa fa-lg fa-building-o"
                            title="Values set here are company-specific."
                            groups="base.group_multi_company"
                        />
                        <div class="text-muted">
                            Indicates whether specifying an RMA reason is
                            mandatory when creating an RMA order.
                            Enabling this ensures that all return requests
                            have a documented reason, aiding in inventory
                            management, quality control, and customer service.
                        </div>
                    </div>
                </div>

            </xpath>
        </field>
    </record>



</odoo>
