[IMP] default priority if no moves in picking

This commit is contained in:
Josse Colpaert
2014-07-10 19:03:33 +02:00
committed by Christophe Simonis
parent e4cb5619fe
commit 6191ed33a0
+1 -1
View File
@@ -635,7 +635,7 @@ class stock_picking(osv.osv):
"""
res = {}
for id in ids:
res[id] = {'min_date': False, 'max_date': False}
res[id] = {'min_date': False, 'max_date': False, 'priority': '1'}
if not ids:
return res
cr.execute("""select