[IMP]stock: if chain location type fixed then chain_location_id is required

bzr revid: ron@tinyerp.com-20101101111315-h55yzhn3u39z7fc2
This commit is contained in:
ron@tinyerp.com 2010-11-01 16:43:15 +05:30
parent 42d9a84001
commit 529263808f
1 changed files with 3 additions and 3 deletions

View File

@ -304,7 +304,7 @@
<page string="Stock Moves">
<field colspan="2" name="move_ids" nolabel="1" widget="one2many_list">
<tree string="Stock Moves">
<field name="picking_id" string="Reference"/>
<field name="picking_id" string="Reference"/>
<field name="origin"/>
<field name="partner_id"/>
<field name="product_id"/>
@ -317,7 +317,7 @@
<field name="location_dest_id"/>
<field name="state"/>
</tree>
</field>
</field>
</page>
</notebook>
</form>
@ -449,7 +449,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"/>
<field name="chained_location_id" attrs="{'required':[('chained_location_type','=','fixed')]}"/>
<field name="chained_auto_packing"/>
<field name="chained_delay"/>
<field name="chained_journal_id"/>