[FIX]mrp_repair:Shows 1 PCE qty in Delivery Order only,after we created a Repair Order with differ Qty

lp bug: https://launchpad.net/bugs/784363 fixed

bzr revid: ron@tinyerp.com-20110519122847-elw99z61h3y8fg2j
This commit is contained in:
ron@tinyerp.com 2011-05-19 17:58:47 +05:30
parent f2cd76ba8e
commit 99f6e9e0ee
1 changed files with 1 additions and 1 deletions

View File

@ -558,7 +558,7 @@ class mrp_repair(osv.osv):
'name': repair.name,
'picking_id': picking,
'product_id': repair.product_id.id,
'product_qty': 1.0,
'product_qty': move.product_uom_qty or 1.0,
'product_uom': repair.product_id.uom_id.id,
'prodlot_id': repair.prodlot_id and repair.prodlot_id.id or False,
'address_id': repair.address_id and repair.address_id.id or False,