[FIX]stock: when we have production lot tracking for product the partial picking wizard refuses to validate the partial picking because he requires production lot for product although the line in wizard has a quantity of 0
bzr revid: mma@tinyerp.com-20121119131308-5x1c7zoyeg2l6kx4
This commit is contained in:
committed by
Mayur Maheshwari (OpenERP)
parent
66afff1b52
commit
8024dfbd4b
@@ -23,7 +23,7 @@
|
||||
<field name="quantity" />
|
||||
<field name="product_uom" groups="product.group_uom"/>
|
||||
<field name="tracking" invisible="1"/>
|
||||
<field name="prodlot_id" domain="[('product_id', '=', product_id)]" invisible="context.get('hide_tracking',False)" attrs="{'required':[('tracking','=',True)]}" groups="stock.group_production_lot"/>
|
||||
<field name="prodlot_id" domain="[('product_id', '=', product_id)]" invisible="context.get('hide_tracking',False)" attrs="{'required':[('tracking','=',True), ('quantity', '!=', 0)]}" groups="stock.group_production_lot"/>
|
||||
<!-- Removed as this feature is not logic: price must be updated upon reception of invoice -->
|
||||
<field name="update_cost" invisible="1"/>
|
||||
<field name="cost" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user