[FIX] product: Put product_variant_count on template form view.
authorRichard deMeester <richard@willowit.com.au>
Mon, 22 Sep 2014 06:39:30 +0000 (16:39 +1000)
committerMartin Trigaux <mat@openerp.com>
Mon, 22 Sep 2014 09:04:00 +0000 (11:04 +0200)
Was missing to be used in domain added at 92d8f15.
Fixes #2570

addons/product/product_view.xml

index f8a0684..482f31b 100644 (file)
@@ -50,6 +50,7 @@
             <field name="arch" type="xml">
                 <form string="Product">
                     <field name="is_product_variant" invisible="1"/>
+                    <field name='product_variant_count' invisible='1'/>
                     <sheet>
                         <field name="id" invisible="True"/>
                         <div class="oe_right oe_button_box" style="width: 300px;" name="buttons">