← Back to team overview

openerp-india team mailing list archive

[Bug 942253] Re: server_wide_modules should not be saved

 

*** This bug is a duplicate of bug 938513 ***
    https://bugs.launchpad.net/bugs/938513

** This bug has been marked a duplicate of bug 938513
   server_wide_modules var of openerp.conf file isn't used

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/942253

Title:
  server_wide_modules should not be saved

Status in OpenERP Server:
  New

Bug description:
  The "openerp-server -s" command will save the "server_wide_modules" option in the rc file.
  However, this option is not read from the config file. The only way to pass a list of server_wide_modules is using the "--load" switch.


  This is the proposed patch:

  === modified file 'openerp/tools/config.py'
  --- openerp/tools/config.py     2012-02-10 14:41:14 +0000
  +++ openerp/tools/config.py     2012-02-27 20:57:14 +0000
  @@ -74,7 +74,7 @@
           # Not exposed in the configuration file.
           self.blacklist_for_save = set(
               ['publisher_warranty_url', 'load_language', 'root_path',
  -            'init', 'save', 'config', 'update', 'stop_after_init'])
  +            'init', 'save', 'config', 'update', 'server_wide_modules', 'stop_after_init'])
   
           # dictionary mapping option destination (keys in self.options) to MyOptions.
           self.casts = {}

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/942253/+subscriptions


References