diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 56c0d3a6f3b..f8ad42c66fa 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -1768,7 +1768,7 @@ class stock_move(osv.osv): """ Confirms stock move or put it in waiting if it's linked to another move. @return: List of ids. """ - if isinstance(ids, ('int', 'long')): + if isinstance(ids, (int, long)): ids = [ids] states = { 'confirmed': [],