[FIX] web: force seession context reload when reloading client
authorOlivier Dony <odo@openerp.com>
Wed, 2 Jul 2014 13:18:56 +0000 (15:18 +0200)
committerOlivier Dony <odo@openerp.com>
Wed, 2 Jul 2014 13:18:56 +0000 (15:18 +0200)
commitc887e53b324770982eb8420fb4cc7ec5f70074cb
treed95f53a5ac157c2cc8bc5517adb982a29a81cb77
parentf0d66ec5c68194cdd2b10a346877ce53d601e1ec
[FIX] web: force seession context reload when reloading client

The goal is to ensure that HTTP requests
done while reloading the client (e.g. the
menu bar, etc.) do not use a deprecated
session context.

Also undo the previous fix from a0ee2b5
as it would cause other issues (e.g.
prevent setting the admin password/lang
when creating a new db using the db manager)
This logic does not belong in the business
methods of res.users.
addons/web/static/src/js/chrome.js
openerp/addons/base/res/res_users.py