[IMP] default priority if no moves in picking

This commit is contained in:
Josse Colpaert 2014-06-23 09:30:42 +02:00 committed by Christophe Simonis
parent e4cb5619fe
commit 6191ed33a0
1 changed files with 1 additions and 1 deletions

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