[IMP] base.needaction: clened code

bzr revid: tde@openerp.com-20120313155425-vkmzmobas76re0x4
This commit is contained in:
Thibault Delavallée
2012-03-13 16:54:25 +01:00
parent dbd4f6dfce
commit 5ef1483f93
+1 -5
View File
@@ -45,11 +45,7 @@ class base_needaction(osv.osv):
_description = 'Need action mechanism'
def get_needaction_user_id(self, cr, uid, ids, name, arg, context=None):
if context is None:
context = {}
result = {}
for id in ids:
result[id] = False
result = dict.fromkeys[ids, False]
return result
''' Wrapper: in 6.1 the reference to a method is given to a function