__init__.py 1006 B

123456789101112131415161718192021222324252627
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. """ Library-wide configuration variables.
  4. For now, configuration code is in openerp.tools.config. It is in mainly
  5. unprocessed form, e.g. addons_path is a string with commas-separated
  6. paths. The aim is to have code related to configuration (command line
  7. parsing, configuration file loading and saving, ...) in this module
  8. and provide real Python variables, e.g. addons_paths is really a list
  9. of paths.
  10. To initialize properly this module, openerp.tools.config.parse_config()
  11. must be used.
  12. """
  13. # Paths to search for OpenERP addons.
  14. addons_paths = []
  15. # List of server-wide modules to load. Those modules are supposed to provide
  16. # features not necessarily tied to a particular database. This is in contrast
  17. # to modules that are always bound to a specific database when they are
  18. # installed (i.e. the majority of OpenERP addons). This is set with the --load
  19. # command-line option.
  20. server_wide_modules = []