The menus were properly restricted but the portal users created through the portal wizard on Partners were erroneously made members of the Employee and Partner Manager groups. + some cleanup in the context management bzr revid: odo@openerp.com-20120731143203-pv4jbn4dh99pz0v3