[IMP]:readonly inventory valuation field for product type service instead of invisible

bzr revid: ksa@tinyerp.com-20110907093231-cpho74pb0mszjkxy
This commit is contained in:
Kirti Savalia (OpenERP) 2011-09-07 15:02:31 +05:30
parent 2790231067
commit 078a531438
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@
<group groups="base.group_extended">
<separator string="Inventory Valuation" colspan="4"/>
<group colspan="2" col="2">
<field name="valuation" attrs="{'invisible':[('type', '=', 'service')]}"/>
<field name="valuation" attrs="{'readonly':[('type', '=', 'service')]}"/>
</group>
<group colspan="2" col="2">
<field name="property_stock_account_input" attrs="{'readonly':[('valuation', '!=', 'real_time')]}"