[FIX]isinstance second parameter takes tuple of classes
bzr revid: csn@openerp.com-20140214105004-gsiz32czy9rzkp52
This commit is contained in:
parent
2f982e6bea
commit
d849118ecf
|
@ -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': [],
|
||||
|
|
Loading…
Reference in New Issue