From 81e514ee5fccd96620640b058149f384fca432ec Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 9 Jun 2009 20:32:21 +0200 Subject: [PATCH] [FIX] bugfix in lot assignation on moves, bad signature bzr revid: fp@tinyerp.com-20090609183221-ual1q4n4qghk9zp3 --- addons/stock/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 9c69d3f068b..5d47a5d86f5 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -981,7 +981,7 @@ class stock_move(osv.osv): ON stock_move (location_id, location_dest_id, product_id, state)') cursor.commit() - def onchange_lot_id(self, cr, uid, context=None, prodlot_id=False, product_qty=False, loc_id=False): + def onchange_lot_id(self, cr, uid, ids, prodlot_id=False, product_qty=False, loc_id=False, context=None): if not prodlot_id or not loc_id: return {} ctx = context and context.copy() or {}