← Back to team overview

openerp-india team mailing list archive

[Bug 938513] Re: server_wide_modules var of openerp.conf file isn't used

 

Sorry, this *is* a bug, please disregard the previous comments.

However the patch can indeed be improved: the "server_wide_module" parameter coming from the config file is not copied into the config.options dictionary because it is missing from the list of "keys" to copy.
It should therefore simply be appended to that list,  around line 524 (instead of introducing a separate special case):

  http://bazaar.launchpad.net/~openerp/openobject-
server/6.1/view/head:/openerp/tools/config.py#L524

Thanks for reporting and providing a patch!

** Changed in: openobject-server
   Importance: Wishlist => Low

-- 
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/938513

Title:
  server_wide_modules var of openerp.conf file isn't used

Status in OpenERP Server:
  Confirmed

Bug description:
  In openerp.conf file there is a var called server_wide_modules. It allows to load web and custom modules, the same way as the --load flag.
  But we noticed that this var isn't used. Doing a simple change in server/openerp/tools/config.py file makes that var to be used, and have less priority than the --load flag.

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


References