diff --git a/odoo/tools/config.py b/odoo/tools/config.py index 5584002c520..ea030a80f10 100644 --- a/odoo/tools/config.py +++ b/odoo/tools/config.py @@ -363,7 +363,7 @@ class configmanager(object): rcfilepath = old_rcfilepath self.rcfile = os.path.abspath( - self.config_file or opt.config or os.environ.get('OPENERP_SERVER') or rcfilepath) + self.config_file or opt.config or os.environ.get('ODOO_RC') or os.environ.get('OPENERP_SERVER') or rcfilepath) self.load() # Verify that we want to log or not, if not the output will go to stdout