diff --git a/addons/stock/stock.py b/addons/stock/stock.py index db5b3f677d3..ee4c9e4b621 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -2589,11 +2589,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 '%s' is done.") %(inv.name) self.log(cr, uid, inv.id, message)