[IMP]chained location invisible if its type is not fixed

bzr revid: sgo@tinyerp.com-20121022063959-1orhrlwbcuuwm7u3
This commit is contained in:
Sanjay Gohel (Open ERP)
2012-10-22 12:09:59 +05:30
parent 5bfa3c5a7d
commit 5c710c4558
+1 -1
View File
@@ -540,7 +540,7 @@
</group>
<group string="Chained Locations">
<field name="chained_location_type"/>
<field name="chained_location_id" attrs="{'required':[('chained_location_type','=','fixed')]}"/>
<field name="chained_location_id" attrs="{'required':[('chained_location_type','=','fixed')],'invisible':[('chained_location_type','in',['none','customer'])]}"/>
<field name="chained_auto_packing"/>
<field name="chained_delay"/>
<field name="chained_journal_id"/>