From 1419a853a518935a561bd1c963cd455c81df0ade Mon Sep 17 00:00:00 2001 From: "Jay Vora (OpenERP)" Date: Tue, 29 Mar 2011 20:14:51 +0530 Subject: [PATCH] [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 --- addons/stock/stock.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 2f8419696eb..a8b1a537962 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -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)