How to update OpenERP 6.1 addons from command-line

Asked by Vishnu S on 2012-04-11

I could n't find any option to debug the python code via Ubuntu command prompt in OpenERP6.1,
which was very much quite possible using OpenERP 6.0,where we give the server path followed by --addons=../addons/ -u 'modulename' -d 'database name'.

In OpenERP 6.1 the method in which the server is started is quite different from that of 6.0,which do not
allow to speciffy the module/databse name

i.e sudo /etc/init.d/openerp start

Question information

English Edit question
OpenERP Server Edit question
No assignee Edit question
Last query:
Last reply:
Ivan Baz (freeexec) said : #1

add in config file line
debug_mode = True

And your request to update a module in the database


In OpenERP 6.1 the option to start the server from the command-line is still present, so you can still manually launch it with:
   ./openerp-server --addons-path=../addons -d 'databasename' -u 'modulename'

You just have to use the new executable "openerp-server" rather than "bin/", and be aware that some new things have appeared, such as web addons that should be somewhere in your addons_path (unless you need to launch the web interface as a separate process).

You have perhaps installed OpenERP 6,1 using an all-in-one installer (e.g. .deb) that pre-configures everything for you, whereas your 6.0 installation was done manually, with manual startup. Everything is still there for you to use, just pre-configured with some common parameters via your operating system startup scripts. Feel free to customize them or stop using them and launch everything manually.

can u pls show me how i can start the web interface a separate process

Can you help with this problem?

Provide an answer of your own, or ask Vishnu S for more information if necessary.

To post a message you must log in.