openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07940
Re: [Bug 938513] Re: server_wide_modules var of openerp.conf file isn't used
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I checked my patch, and this code is to read correctly the
server_wide_modules that is on openerp.conf file
At the moment i have something like that:
server_wide_modules = web,auth_openid_canonical,theme_canonical
With my patch, this var is being read. If i remove the patch, i have
to do the same, but using the --load flag, something like that:
./server/openerp-server --without-demo=WITHOUT_DEMO --config
./openerp.conf -d openerpnew
- --load=web,auth_openid_canonical,theme_canonical
I've checked and my code is working. It's also a possibility to use
the --load flag, but as the server_wide_modules var in openerp.conf is
present, i think that is better if we can use it.
Please can you check if what i explained makes the bug more clear?
Best
Yolanda
El 23/02/12 06:33, Amit Parik (OpenERP) escribió:
> Hello Yolanda,
>
> I have complicity checked your issue as well as you patch. But we
> doesn't passed a 'server_wide_modules' as a key in config.py file.
>
> So we can 't use a this parameter in .conf, Indeed your patch is
> not correct.
>
> Btw it's good if we have to add this parameter in .conf file and
> add 'server_wide_modules' key in config.py.
>
> That's why I am considering this as a feature(improvement) rather
> than bug and setting this as a "Wishlist".
>
> Thank you very much!
>
> ** Changed in: openobject-server Importance: Undecided => Wishlist
>
> ** Changed in: openobject-server Status: New => Confirmed
>
> ** Changed in: openobject-server Assignee: (unassigned) =>
> OpenERP's Framework R&D (openerp-dev-framework)
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPReCkAAoJEHui+4jWFHJLgFcIAMks087PnSQTpB7C+uG2KnAB
uinByPvKFL3BKVxVoB9NueX87DomKb0iAlqdki5188AXotEIbIm4gHSbJbpJAlKF
pQgnkfmZIeeNLgNpUWW8ThXa4XE2n8lThuyUOl/oqHFP2ecvWbNAmy2Smv2Q/hAU
45LLsVqzzoPn/OR9HGUXM4hG996obmIZM5vrlZSXZWotDEUX0sGNqCdTcIHdu6gO
BNSkIw3ZayAI93uMDT2yQovtX9XkJwS0fHhN7FM2jjvUyIODRzHLrVCbS6M7HVHY
1CtzumqX1C5pScWvxwi7HW1/kQcDQ9WO4+AV4xV7uSEToxylvki+dHO92fMDvHM=
=jmN7
-----END PGP SIGNATURE-----
--
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