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

<odoo>

    <record id="view_template_property_form" model="ir.ui.view">
        <field name="model">product.template</field>
        <field name="inherit_id" ref="stock.view_template_property_form"/>
        <field name="arch" type="xml">
            <field name="tracking" position="after">
                <field name="allow_unbuild_purchased"
                       attrs="{'invisible': [('tracking', '=', 'none')]}"/>
            </field>
        </field>
    </record>

</odoo>
