From 8add2fc461093d53f1417079f21235b58942031c Mon Sep 17 00:00:00 2001 From: "ksa (Open ERP)" Date: Tue, 22 Mar 2011 15:48:03 +0530 Subject: [PATCH] [FIX]:different behavior with and without production lot in physical inventory lp bug: https://launchpad.net/bugs/725921 fixed bzr revid: ksa@tinyerp.co.in-20110322101803-mp2wpjuyak59uix6 --- addons/stock/stock.py | 5 ----- 1 file changed, 5 deletions(-) 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)