[MERGE] partial picking: lots
bzr revid: fp@tinyerp.com-20120929101343-r5666mapterv38f1
This commit is contained in:
@@ -1301,9 +1301,10 @@ class stock_picking(osv.osv):
|
||||
move_obj.copy(cr, uid, move.id, defaults)
|
||||
move_obj.write(cr, uid, [move.id],
|
||||
{
|
||||
'product_qty' : move.product_qty - partial_qty[move.id],
|
||||
'product_qty': move.product_qty - partial_qty[move.id],
|
||||
'product_uos_qty': move.product_qty - partial_qty[move.id], #TODO: put correct uos_qty
|
||||
|
||||
'prodlot_id': False,
|
||||
'tracking_id': False,
|
||||
})
|
||||
|
||||
if new_picking:
|
||||
@@ -2715,8 +2716,10 @@ class stock_move(osv.osv):
|
||||
complete.append(self.browse(cr, uid, new_move))
|
||||
self.write(cr, uid, [move.id],
|
||||
{
|
||||
'product_qty' : move.product_qty - product_qty,
|
||||
'product_uos_qty':move.product_qty - product_qty,
|
||||
'product_qty': move.product_qty - product_qty,
|
||||
'product_uos_qty': move.product_qty - product_qty,
|
||||
'prodlot_id': False,
|
||||
'tracking_id': False,
|
||||
})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user