<?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="stock.res_config_settings_view_form" />
        <field name="arch" type="xml">
            <xpath
                expr="//div[@data-key='stock']/div[hasclass('o_settings_container')]"
                position="inside"
            >
                <div class="col-12 col-lg-6 o_setting_box">
                    <div class="o_setting_right_pane">
                        <label for="rma_delivery_strategy" />
                        <div class="text-muted">
                            RMA delivery strategy
                        </div>
                        <div class="content-group">
                            <div class="mt16">
                                <field
                                    name="rma_delivery_strategy"
                                    class="o_light_label"
                                />
                            </div>
                        </div>
                        <div
                            class="content-group"
                            attrs="{'invisible': [('rma_delivery_strategy', '=', 'customer_method')]}"
                        >
                            <label for="rma_fixed_delivery_method" />
                            <div class="mt16">
                                <field
                                    name="rma_fixed_delivery_method"
                                    class="o_light_label"
                                    widget="selection"
                                />
                            </div>
                        </div>
                    </div>
                </div>

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