[IMP] default priority if no moves in picking

This commit is contained in:
Josse Colpaert
2014-06-23 09:30:42 +02:00
parent 0171fba1ce
commit 403fefc252
+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