[FIX]Fixed for 'Procurement Method' and 'Stock and Expected Variations' section should be hide for none type product
bzr revid: dhr@tinyerp.com-20120824123826-57g7ieosoyrjvpeo
This commit is contained in:
parent
927ef928a3
commit
d67d8ebdd1
|
@ -86,7 +86,7 @@
|
|||
</group>
|
||||
<group string="Procurement">
|
||||
<field name="type"/>
|
||||
<field name="procure_method" groups="base.group_user" attrs="{'invisible':[('type','in', ('service', 'consu'))]}"/>
|
||||
<field name="procure_method" groups="base.group_user" attrs="{'invisible':[('type','!=', 'product')]}"/>
|
||||
</group>
|
||||
<group string="Prices">
|
||||
<field name="list_price"/>
|
||||
|
|
|
@ -136,7 +136,7 @@
|
|||
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<group name="status" position="before" version="7.0">
|
||||
<group string="Stock and Expected Variations" attrs="{'invisible':[('type','in', ('service', 'consu'))]}">
|
||||
<group string="Stock and Expected Variations" attrs="{'invisible':[('type','!=', 'product')]}">
|
||||
<label for="qty_available"/>
|
||||
<div>
|
||||
<field name="qty_available" class="oe_inline"/>
|
||||
|
|
Loading…
Reference in New Issue