'Staff'

def hrm(self):

    s3 = current.session.s3
    ADMIN = s3.system_roles.ADMIN
    is_org_admin = (lambda i: ((s3.hrm.orgs and True) or (ADMIN in s3.roles)))
    settings = current.deployment_settings
    teams = settings.get_hrm_teams()
    use_teams = (lambda i: teams)
    vol_enabled = (lambda i: settings.has_module('vol'))
    return M(c='hrm')(M(settings.get_hrm_staff_label(), f='staff', m='summary')(M('Create', m='create'), M('Search    by    Skills', f='competency'), M('Import', f='person', m='import', vars={'group': 'staff'}, p='create')), M('Staff    &    Volunteers    (Combined)', c='hrm', f='human_resource', m='summary', check=vol_enabled), M(teams, f='group', check=use_teams)(M('Create', m='create'), M('Search    Members', f='group_membership'), M('Import', f='group_membership', m='import')), M('Department    Catalog', f='department')(M('Create', m='create')), M('Job    Title    Catalog', f='job_title')(M('Create', m='create')), M('Skill    Catalog', f='skill')(M('Create', m='create')), M('Reports', f='staff', m='report')(M('Staff    Report', m='report')))
