<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record model="ir.ui.view" id="view_order_form">
            <field name="name">sale.order.form.inherit.variant_assistant</field>
            <field name="model">sale.order</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="sale.view_order_form"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='order_line']/form/header" position="after">
                    <group>
                        <group>
                            <field name="variant_assistant_product_template_id"/>
                            <field name="variant_assistant_attribute_choice_ids">
                                <tree editable="bottom">
                                    <field name="attribute_id"/>
                                    <field name="value_id"/>
                                </tree>
                            </field>
                        </group>
                    </group>
                </xpath>
            </field>
        </record>
    </data>
</openerp>

<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record model="ir.ui.view" id="view_order_form">
            <field name="name">sale.order.form.inherit.variant_assistant</field>
            <field name="model">sale.order</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="sale.view_order_form"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='order_line']/form/header" position="after">
                    <group>
                        <group>
                            <field name="variant_assistant_product_template_id"/>
                            <field name="variant_assistant_attribute_choice_ids"
                                   attrs="{'invisible': [('variant_assistant_product_template_id', '=', False)]}">
                                <tree editable="bottom">
                                    <field name="attribute_id"/>
                                    <field name="value_id"/>
                                </tree>
                            </field>
                        </group>
                    </group>
                </xpath>
            </field>
        </record>
    </data>
</openerp>

Make attributes list invisible unless template is selected
Make attributes list invisible unless template is selected
