Skip to content

Commit

Permalink
[IMP] NEW FIELD QTY TOTAL
Browse files Browse the repository at this point in the history
  • Loading branch information
dhecar committed Sep 28, 2016
1 parent b2bc877 commit 556acb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sine_motoscoot_stock/product_motoscoot.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def StockByLocation(self, cr, uid, ids, name, args, context=None):
WHEN location_id='15' THEN 'P'
END AS LOC FROM stock_report_prodlots
WHERE (location_id ='12' OR location_id ='19' OR location_id='15')
AND product_id = '%s' ORDER BY location_id""" % i)
AND product_id = '%s' GROUP BY location_id ORDER BY location_id""" % i)
res[i] = cr.dictfetchall()

if not res[i]:
Expand Down

0 comments on commit 556acb6

Please sign in to comment.