<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="product_template_form_view" model="ir.ui.view">
            <field name="name">product.template.form.inherit</field>
            <field name="model">product.template</field>
            <field name="inherit_id" ref="product.product_template_form_view"/>
            <field name="arch" type="xml">
                <field name="company_id" position="after">
                    <field name="email_template_id"
                        domain="[('model','=','product.template')]"
                        context="{
                            'form_view_ref':'product_email_template.email_template_form_simplified',
                            'default_model': 'product.template',
                            'default_subject': name,
                            'default_name': name,
                        }"
                    />
                </field>
            </field>
        </record>
    </data>
</openerp>
