[FIX] bugfix in lot assignation on moves, bad signature

bzr revid: fp@tinyerp.com-20090609183221-ual1q4n4qghk9zp3
This commit is contained in:
Fabien Pinckaers 2009-06-09 20:32:21 +02:00
parent 213da8bc73
commit 81e514ee5f
1 changed files with 1 additions and 1 deletions

View File

@ -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 {}