Help

5

How do I load my modules at startup time? [Windows]

Avatar
Anas Taji

Hi,,

I am able to load my modules in Linux by passing --load=my_module when starting openerp-server and it works perfect. however, I can't figure a clear way to do it on Windows!

What I have tried so far: - I have disabled the windows service that start openERP server & created a shortcut for 'openerp-server.exe' and passed it --load=my_module when starting , this works fine, but I need to start it manually each time with administrator privilege and the console black screen must stay opened.

Thanks..%

Avatar
Discard
1 Answer
2
Best Answer

hi,

try to add your option in openerp service in list windows registry services :

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\openerp-server-x.x\ImagePath

"C:\Program Files (x86)\OpenERP 7\Server\service\OpenERPServerService.exe --load=my_module"

(restart openerp windows service, perhaps need to restart windows too)

bye.

Avatar
Discard