[IMP] stock : Visibility of 'Chained Location' based on 'Chained Location Type' (Case:6178)

bzr revid: vro@tinyerp.com-20110609124428-7erxh8wj5mg60csq
This commit is contained in:
vro
2011-06-09 18:14:28 +05:30
parent 45de3f6388
commit 709c23ad70
+1 -1
View File
@@ -523,7 +523,7 @@
<group col="2" colspan="2" groups="base.group_extended">
<separator string="Chained Locations" colspan="2"/>
<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','!=','fixed')]}" string="Chained Location"/>
<field name="chained_auto_packing"/>
<field name="chained_delay"/>
<field name="chained_journal_id"/>