'Generate tasks from shelter inspections (requires project module)'

def get_cr_shelter_inspection_tasks(self):

    if self.has_module('project'):
        return self.cr.get('shelter_inspection_tasks', False)
    else:
        return False
