[FIX] product: force empty view_id for action `product_variant_action`
authorChristophe Simonis <chs@odoo.com>
Tue, 2 Dec 2014 16:00:44 +0000 (17:00 +0100)
committerChristophe Simonis <chs@odoo.com>
Tue, 2 Dec 2014 16:45:31 +0000 (17:45 +0100)
addons/product/product_view.xml

index 7e8dcd2..c764ab0 100644 (file)
             <field name="view_type">form</field>
             <field name="context">{'search_default_product_tmpl_id': [active_id], 'default_product_tmpl_id': active_id}</field>
             <field name="search_view_id" ref="product_search_form_view"/>
+            <field name="view_id" eval="False"/> <!-- Force empty -->
             <field name="help" type="html">
               <p class="oe_view_nocontent_create">
                 Click to define a new product.