[FIX] Stock : Physical inventory should respect the quantity change when inventory line has lot assigned
lp bug: https://launchpad.net/bugs/725921 fixed bzr revid: jvo@tinyerp.com-20110329144451-wurf1sj2am0eaw6b
This commit is contained in:
@@ -2582,11 +2582,6 @@ class stock_inventory(osv.osv):
|
||||
'location_id': line.location_id.id,
|
||||
'location_dest_id': location_id,
|
||||
})
|
||||
if lot_id:
|
||||
value.update({
|
||||
'prodlot_id': lot_id,
|
||||
'product_qty': line.product_qty
|
||||
})
|
||||
move_ids.append(self._inventory_line_hook(cr, uid, line, value))
|
||||
message = _('Inventory') + " '" + inv.name + "' "+ _("is done.")
|
||||
self.log(cr, uid, inv.id, message)
|
||||
|
||||
Reference in New Issue
Block a user