[FIX]stock:production lot and shipping direct from Sales Order

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

bzr revid: ron@tinyerp.com-20110208101754-2i109txqx7tkiv2y
This commit is contained in:
ron@tinyerp.com
2011-02-08 15:47:54 +05:30
parent 783d6d8807
commit d92c83d632
+3 -3
View File
@@ -1247,9 +1247,9 @@ class stock_picking(osv.osv):
if new_picking:
move_obj.write(cr, uid, [c.id for c in complete], {'picking_id': new_picking})
for move in complete:
if prodlot_ids.get(move.id):
move_obj.write(cr, uid, move.id, {'prodlot_id': prodlot_ids[move.id]})
for move in complete:
if prodlot_ids.get(move.id):
move_obj.write(cr, uid, move.id, {'prodlot_id': prodlot_ids[move.id]})
for move in too_many:
product_qty = move_product_qty[move.id]
defaults = {