diff options
| author | Olivier Dony <odo@openerp.com> | 2011-05-06 11:37:04 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2011-05-06 11:37:04 +0200 |
| commit | 423fe4258e945ff207d1f6a9155e3900281b0ef8 (patch) | |
| tree | ede69c504f98fddf276c000c1d23f787f05f081b /addons/analytic_user_function | |
| parent | 80c2244f2e175e47ea83860ceb63029c801f8b95 (diff) | |
[FIX] res_user: allow user to switch to any company she belongs to.
Due to global ir.rules applied on res.company, a user should only
be able to see the child companies of the company he is currently
working in. However this needs to be bypassed when the user is
changing to a different company through user preferences.
It is safe to perform this check using super-user to bypass all
ir.rules.
bzr revid: odo@openerp.com-20110506093704-1vwxsqyz63lq40a1
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
