[FIX] stock: `stock.move` `action_confirm` without context passed
This commit is contained in:
parent
ddfc07a6a2
commit
3378e6212b
|
@ -2168,6 +2168,8 @@ class stock_move(osv.osv):
|
||||||
""" Confirms stock move or put it in waiting if it's linked to another move.
|
""" Confirms stock move or put it in waiting if it's linked to another move.
|
||||||
@return: List of ids.
|
@return: List of ids.
|
||||||
"""
|
"""
|
||||||
|
if not context:
|
||||||
|
context = {}
|
||||||
if isinstance(ids, (int, long)):
|
if isinstance(ids, (int, long)):
|
||||||
ids = [ids]
|
ids = [ids]
|
||||||
states = {
|
states = {
|
||||||
|
|
Loading…
Reference in New Issue