[IMP] base.needaction: clened code
bzr revid: tde@openerp.com-20120313155425-vkmzmobas76re0x4
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user