[FIX] product: force empty domain for variants action

Takes care of resetting it from older versions
e.g. rev d97e7a6a4e
and c0076916f3, as
the old `variants` field that was used does not
exist anymore, crashing at opening.
This commit is contained in:
Olivier Dony 2015-01-23 23:23:27 +01:00
parent eed09ba410
commit a3c369f53f
1 changed files with 1 additions and 0 deletions

View File

@ -216,6 +216,7 @@
<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="domain" eval="False"/> <!-- Force empty -->
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to define a new product.