(_check_model,'Invalid model name in the action definition.',['res_model','src_model'])
]
defget_filters(self,cr,uid,model):
cr.execute('select id from ir_act_window a where a.id not in (select act_id from ir_act_window_user_rel) and a.res_model=\''+model+'\' and a.filter=\'1\';')