[IMP]product: removed attrs from variants in form view.

bzr revid: dka@tinyerp.com-20140117075805-r5k1epe8vzj36tzm
This commit is contained in:
Darshan Kalola (OpenERP)
2014-01-17 13:28:05 +05:30
parent f75f2eccef
commit effa6b282e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -72,7 +72,7 @@
<field name="name" class="oe_inline"/>
<field name="product_tmpl_id" groups="product.group_product_variant" on_change="onchange_product_tmpl_id(product_tmpl_id,lst_price,price_margin,price_extra)" class="oe_inline" context="{'search_variants':1}"/>
<span attrs="{'invisible':[('variants','=',False)]}" groups="product.group_product_variant"> - </span>
<field name="variants" placeholder="Variant Name" groups="product.group_product_variant" class="oe_inline" readonly="0" attrs="{'required': [('standard_variants', '=', True)]}"/>
<field name="variants" placeholder="Variant Name" groups="product.group_product_variant" class="oe_inline" readonly="0"/>
</h1>
<label for="categ_id" class="oe_edit_only"/>
<h2><field name="categ_id"/></h2>
+1 -1
View File
@@ -339,7 +339,7 @@
</t>
<h4>
<b class="oe_price"
t-field="product.list_price"
t-field="product.product_variant_ids[0].price"
t-field-options='{
"widget": "monetary",
"display_currency": "website.pricelist_id.currency_id"