[IMP] default priority if no moves in picking
This commit is contained in:
parent
e4cb5619fe
commit
6191ed33a0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue