[IMP] product: templates are only available with 'product_variant_multi' module

bzr revid: olt@tinyerp.com-20091215155001-pqfgjwjb9eppcf84
This commit is contained in:
olt@tinyerp.com
2009-12-15 16:50:01 +01:00
parent 12bc5b53ac
commit 3ef3c46ea0
+5 -4
View File
@@ -39,7 +39,7 @@
<tree colors="red:virtual_available&lt;0;blue:state in ['draft', 'end', 'obsolete']" string="Products">
<field name="default_code"/>
<field name="name"/>
<field name="variants"/>
<field name="variants" groups="product.group_product_variant"/>
<field name="uom_id"/>
<field name="qty_available"/>
<field name="virtual_available"/>
@@ -61,7 +61,7 @@
<group colspan="4" col="2">
<separator string="Product Description" colspan="4"/>
<field name="name" select="1" />
<field groups="base.group_extended" name="variants" select="2" />
<field groups="product.group_product_variant" name="variants" select="2" />
</group>
<group colspan="1" col="2">
<separator string="Codes" colspan="2"/>
@@ -587,9 +587,10 @@
<field name="view_id" ref="product_template_tree_view"/>
</record>
<menuitem action="product_template_action_tree" id="menu_templates" parent="product.menu_main_product" sequence="2"
<!--
<menuitem action="product_template_action_tree" id="menu_templates" parent="product.menu_products" sequence="2"
groups="product.group_product_variant" />
-->
</data>
</openerp>