[IMP]current location set as required if delivery bool is true
bzr revid: sgo@tinyerp.com-20120619121544-vlmgqh6eyl1oyy4e
This commit is contained in:
parent
b6861b2c0b
commit
d1e3b9edb7
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue