[IMP]:help getting

bzr revid: nch@tinyerp.com-20100706070306-fv39hzi2ov43w6fv
This commit is contained in:
nch@tinyerp.com
2010-07-06 12:33:06 +05:30
parent c9ace81dbe
commit a846db1e2e
+7
View File
@@ -223,6 +223,13 @@ class act_window(osv.osv):
return res
def _get_help_status(self, cr, uid, ids, name, arg, context={}):
# cr.execute('select uid from ir_act_window_user_rel where act_id=ANY(%s)',(ids,))
# user_ids = map(lambda x:x[0],cr.fetchall())
# res = {}
# for action in ids:
# res[action] = True
# if uid in user_ids:
# res[action] = False
res = {}
for action in self.browse(cr, uid, ids):
res[action.id] = True