[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:
commit
77e7375997
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue