bzr revid: fp@tinyerp.com-20120817144949-wrqo086h3dx6f3kx
This commit is contained in:
Fabien Pinckaers 2012-08-17 16:49:49 +02:00
parent b9bdf2c29a
commit 07c5ee86d6
1 changed files with 2 additions and 1 deletions

View File

@ -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)