[FIX] Added missing item in return

bzr revid: tde@openerp.com-20120402083605-cb5w8sxtxcpexwry
This commit is contained in:
Thibault Delavallée
2012-04-02 10:36:05 +02:00
parent e734648206
commit c4333fe170
+1 -1
View File
@@ -743,7 +743,7 @@ class BaseModel(object):
if hasattr(model_obj, 'needaction_get_record_ids'):
ids = model_obj.needaction_get_record_ids(cr, uid, model_name, user_id, limit=8096, context=context)
if not ids:
return [True, 0]
return [True, 0, []]
if domain:
new_domain = eval(domain) + [('id', 'in', ids)]
else: