<odoo>
    <record id="product_template_form_view_inherit" model="ir.ui.view">
        <field
            name="name"
        >Product Template: CFDI code and measurement unit fields</field>
        <field name="model">product.template</field>
        <field name="inherit_id" ref="product.product_template_form_view" />
        <field name="arch" type="xml">
            <xpath expr="//page[@name='invoicing']" position="inside">
                <group string="CFDI">
                    <field name="l10n_mx_cfdi_product_code_id" />
                    <field name="l10n_mx_cfdi_product_measurement_unit_id" />
                </group>
            </xpath>
        </field>
    </record>
</odoo>
