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

bzr revid: dhr@tinyerp.com-20130329062950-02e37dwbtidy5mi7
This commit is contained in:
Dharti Ratani (Open ERP)
2013-03-29 11:59:50 +05:30
parent 7a8d71be6d
commit 3bd2d83776
+1 -1
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)