parameters: (self)
return_statement: return dict(action, context=action_context)
docstring: return the action to see all the rating of the project and activate default filters
docstring_summary: return the action to see all the rating of the project and activate default filters
docstring_tokens: return the action to see all the rating of the project and activate default filters
function: def action_view_all_rating(self):
          """ return the action to see all the rating of the project and activate default filters"""
          action = self.env['ir.actions.act_window']._for_xml_id('project.rating_rating_action_view_project_rating')
          action['name'] = _('Ratings of %s') % (self.name,)
          action_context = ast.literal_eval(action['context']) if action['context'] else {}
          action_context.update(self._context)
          action_context['search_default_parent_res_name'] = self.name
          action_context.pop('group_by', None)
          return dict(action, context=action_context)
function_tokens: def action_view_all_rating ( self ) : action = self . env [ 'ir.actions.act_window' ] . _for_xml_id ( 'project.rating_rating_action_view_project_rating' ) action [ 'name' ] = _ ( 'Ratings of %s' ) % ( self . name , ) action_context = ast . literal_eval ( action [ 'context' ] ) if action [ 'context' ] else { } action_context . update ( self . _context ) action_context [ 'search_default_parent_res_name' ] = self . name action_context . pop ( 'group_by' , None ) return dict ( action , context = action_context )