diff options
Diffstat (limited to 'odoo/cli/command.py')
| -rw-r--r-- | odoo/cli/command.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/odoo/cli/command.py b/odoo/cli/command.py index 2f2fffa18b4..fa22fd5baf1 100644 --- a/odoo/cli/command.py +++ b/odoo/cli/command.py @@ -3,8 +3,8 @@ import sys import os from os.path import join as joinpath, isdir -import openerp -from openerp.modules import get_modules, get_module_path +import odoo +from odoo.modules import get_modules, get_module_path commands = {} @@ -17,7 +17,7 @@ class CommandType(type): commands[name] = cls class Command(object): - """Subclass this class to define new openerp subcommands """ + """Subclass this class to define new odoo subcommands """ __metaclass__ = CommandType def run(self, args): @@ -42,7 +42,7 @@ def main(): # commands from modules if len(args) > 1 and args[0].startswith('--addons-path=') and not args[1].startswith("-"): # parse only the addons-path, do not setup the logger... - openerp.tools.config._parse_config([args[0]]) + odoo.tools.config._parse_config([args[0]]) args = args[1:] # Default legacy command @@ -54,7 +54,7 @@ def main(): logging.disable(logging.CRITICAL) for module in get_modules(): if isdir(joinpath(get_module_path(module), 'cli')): - __import__('openerp.addons.' + module) + __import__('odoo.addons.' + module) logging.disable(logging.NOTSET) command = args[0] args = args[1:] |
