'Unarchives the sample project \'project.project_project_data\' and
reloads the project dashboard'

@api.model
def activate_sample_project(self):

    project = self.env.ref('project.project_project_data', False)
    if project:
        project.write({'active': True})
    cover_image = self.env.ref('project.msg_task_data_14_attach', False)
    cover_task = self.env.ref('project.project_task_data_14', False)
    if (cover_image and cover_task):
        cover_task.write({'displayed_image_id': cover_image.id})
    action = self.env.ref('project.open_view_project_all', False)
    action_data = None
    if action:
        action.sudo().write({'help': _('<p    class="oe_view_nocontent_create">Click    to    create    a    new    project.</p>')})
        action_data = action.read()[0]
    return action_data
