Odoo Help



Yassine TEIMI
on 11/17/14, 7:21 AM 2,141 views

I want to update modules list for db_name for example via command line, how to deal with it ? should I switch to the postgres or the openerp user, wich command necessary to do it ? Thanks.


Hello Yassine

go to the directory where your openerp-server file is situated

Type the following command

python openerp-server --update=your_module_name (don't use any quote around the module name)

Now in the browser whichever database you will try to use, in that database that module will be updated

Hope this helps !!

Hi, The directory is : /etc/init.d When I type the command above , it prompt : File "openerp-server", line 15 PATH=/bin:/sbin:/usr/bin ^ Appearently, a syntax error ...

Yassine TEIMI
on 11/17/14, 8:00 AM

@yassine I think you are on the worng directory path, the path that you are mentioning is of the daemon file. You should go to the folders where the openerp files are located and search there.

Emipro Technologies Pvt. Ltd.
on 11/17/14, 8:15 AM

Yes you're right I went to : /opt/openerp/server, and I typed : python openerp-server --update=all But it shows me following error : Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 504, in run self.__target(*self.__args, **self.__kwargs) File "/opt/openerp/server/openerp/service/wsgi_server.py", line 436, in serve httpd = werkzeug.serving.make_server(interface, port, application, threaded=True) File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 399, in make_server passthrough_errors, ssl_context) File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 331, in __init__ HTTPServer.__init__(self, (host, int(port)), handler) File "/usr/lib/python2.7/SocketServer.py", line 408, in __init__ self.server_bind() File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind SocketServer.TCPServer.server_bind(self) File "/usr/lib/python2.7/SocketServer.py", line 419, in server_bind self.socket.bind(self.server_address)

Yassine TEIMI
on 11/17/14, 8:21 AM

@yassine Is this the full error log that you have posted. And I am not sure for --update=all. So you just try for one module for this time.

Emipro Technologies Pvt. Ltd.
on 11/17/14, 8:28 AM

Yes, is the full error displayed, Because I was openning the openerp web client, while executing this command once, openerp web client instance closed, it worked, and it gives to me the xml error that I have, so, How to resolve the XML error is another topic, I will post it right now, here after the topic's title (DELETE A CUSTOM FIELD DIRECTLY ON POSTGRES "OPENERP7") , so as to find it, once the topic resolved, I will try to execute the manipulation that you give me here, and I'll mark your response as good. Thanks a lot Emipro.

Yassine TEIMI
on 11/17/14, 9:06 AM
syam sundar singh
On 11/17/14, 8:20 AM

Hi Yassine,

open the terminal

./openerp-server -u MODULE NAME -d DATABASE NAME this is also works try it..


Thanks but it didn't work, I went to the directory manually, and executed : python openerp-server --update=all , I posted the result, on my comment above.

Yassine TEIMI
on 11/17/14, 9:09 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/17/14, 7:21 AM
Seen: 2141 times
Last updated: 3/16/15, 8:10 AM