summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2014-07-25 15:29:10 +0200
committerFabien Meghazi <fme@openerp.com>2014-07-25 15:29:10 +0200
commitff679b97aad3dd43595be4155d4ce43a7ba40ec9 (patch)
treed3727264d7571d7cfcb666ec1166e7b12ba5bbdc /addons/website/static/src/xml
parente2c3bd2a536f70197ef606b0b6692535fff20b74 (diff)
[FIX] Temporary disable addons subcommand auto discovery
The problem with the current approach is that it imports all modules in order to discover which one exposes a subcommand by subclassing openerp.cli.Command. At that time, the arguments are not parsed in order to setup the config because a subcommand could potentialy alter the command line arguments (which is the case of `start`) This behavior causes the modules to be imported with the default config and all the modules using some config keys at startup won't have to value they are supposed to have when considering the shared command line switches. Long story short: $ odoo --workers=6 is ok, but $ odoo start --workers=6 is not. As the automatic subcommands are not used yet, we temporary disable it until as proper solution is found.
Diffstat (limited to 'addons/website/static/src/xml')
0 files changed, 0 insertions, 0 deletions