summaryrefslogtreecommitdiff
path: root/addons/website/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2015-12-11 11:05:52 +0100
committerOlivier Dony <odo@openerp.com>2015-12-11 15:13:47 +0100
commitb122217f7426910a85749af6065ee3c8c303ca80 (patch)
treec8a4e3de3a12bf5d636eb510b1672a80e50f137f /addons/website/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent3a6f7f1b68ac986e3f8f16a16d7d6ca1927c2cd6 (diff)
[FIX] res.lang: do not leak `load_language` global
During database creation via the database manager, or when using the startup option `--load-language`, the selected language(s) will be installed as soon as either: - the base module is installed/updated (because base_data.xml includes a call to res.lang.install_lang() - the registry is loaded (after loading `base`, the system installs the requested languages, even if the server is not in update/install mode) This is implemented by passing a global config option: `load_lang`. This behavior was modified as of saas-7 by PR for the command-line and for the database manager. In both cases, we don't want the installation to be repeated the next time either of these event occur. Essentially the `load_language` config option is a single-use flag, so we have to pop it from the config after using it. A more complete refactoring is needed to remove all uses or tools.config as a global "context" for passing parameters.
Diffstat (limited to 'addons/website/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions