<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="res_config_settings_view_form" model="ir.ui.view">
        <field name="model">res.config.settings</field>
        <field name="inherit_id" ref="sale.res_config_settings_view_form" />
        <field name="arch" type="xml">
            <xpath
                expr="//div[@data-key='sale_management']/div[hasclass('o_settings_container')]"
                position="inside"
            >
                <div
                    class="col-12 col-lg-6 o_setting_box"
                    title="Show portal RMA request in a single page"
                >
                    <div class="o_setting_left_pane">
                        <field name="show_full_page_sale_rma" />
                    </div>
                    <div class="o_setting_right_pane">
                        <label
                            for="show_full_page_sale_rma"
                            string="Single page RMA request"
                        />
                        <span
                            class="fa fa-lg fa-building-o"
                            title="Values set here are company-specific."
                            groups="base.group_multi_company"
                        />
                        <div class="text-muted">
                            When we hit the RMA request button from the portal sale page, open in a single page instead of a popup.
                        </div>
                    </div>
                </div>
            </xpath>
        </field>
    </record>
</odoo>
