[IMP]current location set as required if delivery bool is true

bzr revid: sgo@tinyerp.com-20120619121544-vlmgqh6eyl1oyy4e
This commit is contained in:
Sanjay Gohel (Open ERP) 2012-06-19 17:45:44 +05:30
parent b6861b2c0b
commit d1e3b9edb7
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@
<group col="4">
<field name="invoice_id"/>
<field name="picking_id"/>
<field name="location_id"/>
<field name="location_id" attrs="{'readonly':[('deliver_bool','=', False)], 'required':[('deliver_bool','=', True)]}"/>
<field name="location_dest_id" attrs="{'readonly':[('deliver_bool','=', False)], 'required':[('deliver_bool','=', True)]}"/>
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
</group>