[MERGE] [IMP] stock: don't display origin (source) field if linked to no picking (opw 595645)
bzr revid: mat@openerp.com-20131118134751-2iu7di8f26ibvm2v
This commit is contained in:
@@ -1241,7 +1241,7 @@
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
||||
</group>
|
||||
<group name="origin_grp" string="Origin">
|
||||
<field name="origin"/>
|
||||
<field name="origin" attrs="{'invisible': [('picking_id', '=', False)]}"/>
|
||||
<field name="picking_id" domain="[('type','=',type)]"/>
|
||||
<field name="type" on_change="onchange_move_type(type)"/>
|
||||
<field name="location_id" groups="stock.group_locations"/>
|
||||
|
||||
Reference in New Issue
Block a user