server_wide_modules should not be saved

Bug #942253 reported by Florent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned

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 post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.