@@ -63,5 +63,6 @@ class ir_needaction_mixin(osv.Model):
|
||||
dom = self._needaction_domain_get(cr, uid, context=context)
|
||||
if dom is False:
|
||||
return 0
|
||||
return self.search(cr, uid, domain+dom, context=context, count=True)
|
||||
print domain, dom
|
||||
return self.search(cr, uid, (domain or []) +dom, context=context, count=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user