<?xml version="1.0" encoding="UTF-8" ?>
<odoo>

    <record id="product_template_only_form_view_inherit" model="ir.ui.view">
        <field name="name">product.template.product.form.inherit</field>
        <field name="model">product.template</field>
        <field name="inherit_id" ref="product.product_template_only_form_view"/>
        <field name="arch" type="xml">
            <xpath expr="//page[@name='sales']/group[@name='sale']" position="inside">
                <group name="rma_sale" string="RMA Sales">
                    <field name="rma_sale_validity" string="Eligible Days"/>
                    <field name="rma_sale_warranty_validity" string="Warranty Eligible Days"/>
                </group>
            </xpath>
        </field>
    </record>

    <record id="product_normal_form_view_inherit" model="ir.ui.view">
        <field name="name">product.product.form.inherit</field>
        <field name="model">product.product</field>
        <field name="inherit_id" ref="product.product_normal_form_view"/>
        <field name="arch" type="xml">
            <xpath expr="//page[@name='sales']/group[@name='sale']" position="inside">
                <group name="rma_sale" string="RMA Sales">
                    <field name="rma_sale_validity" string="Eligible Days"/>
                    <field name="rma_sale_warranty_validity" string="Warranty Eligible Days"/>
                </group>
            </xpath>
        </field>
    </record>

</odoo>
