[IMP] if not list then convert into list.
bzr revid: bth@tinyerp.com-20120829091107-ohpgyjikeaatrxd1
This commit is contained in:
parent
fcfa02f700
commit
77593dcc2a
|
@ -832,6 +832,8 @@ class account_journal(osv.osv):
|
|||
|
||||
@return: Returns a list of tupples containing id, name
|
||||
"""
|
||||
if not isinstance(ids, list):
|
||||
ids = [ids]
|
||||
result = self.browse(cr, user, ids, context=context)
|
||||
res = []
|
||||
for rs in result:
|
||||
|
|
Loading…
Reference in New Issue