[MERGE] [FIX]Resolved traceback on moving to the previous record from serial numbers in Tracebility

bzr revid: mat@openerp.com-20130524145846-7u5zy3c8uoa7sfnc
This commit is contained in:
Martin Trigaux 2013-05-24 16:58:46 +02:00
commit 77e7375997
1 changed files with 1 additions and 1 deletions

View File

@ -1426,7 +1426,7 @@ class stock_production_lot(osv.osv):
ids = [ids]
res = {}.fromkeys(ids, 0.0)
if locations:
if locations and ids:
cr.execute('''select
prodlot_id,
sum(qty)