<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="view_warehouse_inherit_mrp" model="ir.ui.view">
        <field name="name">Stock Warehouse Inherit MRP</field>
        <field name="model">stock.warehouse</field>
        <field name="inherit_id" ref="stock.view_warehouse" />
        <field name="arch" type="xml">
            <xpath expr="//field[@name='wh_output_stock_loc_id']/..">
                <field name="rma_loc_id" groups="rma.rma_group_user_own" />
            </xpath>
            <xpath expr="//field[@name='out_type_id']/..">
                <field name="rma_in_type_id" groups="rma.rma_group_user_own" />
                <field name="rma_out_type_id" groups="rma.rma_group_user_own" />
                <field
                    name="rma_out_replace_route_id"
                    groups="rma.rma_group_user_own"
                />
            </xpath>
        </field>
    </record>
</odoo>
