[FIX] portal: avoid making new portal users regular Employees
authorOlivier Dony <odo@openerp.com>
Tue, 31 Jul 2012 14:32:03 +0000 (16:32 +0200)
committerOlivier Dony <odo@openerp.com>
Tue, 31 Jul 2012 14:32:03 +0000 (16:32 +0200)
commit1a06fcf2326c61217dae0544cac4956305dbb484
tree35034f28a4586cc75e58d5b8199c18add6f242b8
parent792374c53a6aa3670d41072b764d9f10ec4ffa1a
[FIX] portal: avoid making new portal users regular Employees

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
addons/portal/wizard/portal_wizard.py