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

    <record id="product_template_form_view_inherit" model="ir.ui.view">
        <field name="name">product.template.form.inherit</field>
        <field name="model">product.template</field>
        <field name="inherit_id" ref="purchase.view_product_supplier_inherit"/>
        <field name="arch" type="xml">
            <xpath expr="//group[@name='bill']" position="before">
                <group string="Reordering" invisible="type != 'service'">
                    <div class="o_td_label d-inline-flex">
                        <label for='service_to_purchase'/>
                        <field name="service_to_purchase"/>
                        <span class='fa fa-lg fa-building-o fa-fw' title="Service to Purchase"/>
                    </div>
                </group>
            </xpath>
        </field>
    </record>

</odoo>