[IMP]stock:put attrs in tree view
bzr revid: ron@tinyerp.com-20110629070715-034200f7ehabtrph
This commit is contained in:
@@ -29,10 +29,7 @@
|
||||
<field name="product_id" />
|
||||
<field name="quantity" />
|
||||
<field name="product_uom" />
|
||||
<!--When you click the "Validate" button, moves disappear
|
||||
(product track_incoming or track_outgoing field must be True)
|
||||
if "attrs="{'required'('tracking','=',True)]}" is specified in prodlot_id field of the tree view -->
|
||||
<field name="prodlot_id" domain="[('product_id', '=', product_id)]" groups="base.group_extended" />
|
||||
<field name="prodlot_id" domain="[('product_id', '=', product_id)]" groups="base.group_extended" attrs="{'required':[('tracking','=',True)]}"/>
|
||||
<field name="tracking" invisible="1"/>
|
||||
<field name="cost" />
|
||||
<field name="currency" />
|
||||
@@ -66,10 +63,7 @@
|
||||
<field name="product_id" />
|
||||
<field name="quantity" />
|
||||
<field name="product_uom" />
|
||||
<!--When you click the "Validate" button, all moves disappear
|
||||
(product track_incoming or track_outgoing field must be True)
|
||||
if "attrs="{'required'('tracking','=',True)]}" is specified in prodlot_id field of the tree view -->
|
||||
<field name="prodlot_id" domain="[('product_id', '=', product_id)]" groups="base.group_extended" />
|
||||
<field name="prodlot_id" domain="[('product_id', '=', product_id)]" groups="base.group_extended" attrs="{'required':[('tracking','=',True)]}"/>
|
||||
<field name="tracking" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user