Odoo Help



Yassine TEIMI
on 11/17/14, 7:21 AM 2,602 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.


Emipro Technologies Pvt. Ltd.

--Emipro Technologies Pvt. Ltd.--
| 6 7 8
Rajkot, India
--Emipro Technologies Pvt. Ltd.--

Being an emerging leader in IT market since 2011, Emipro Technologies Pvt. Ltd. has been providing a wide range of business solutions in Odoo & Magento. We are pleased to have a large pool of contented customers with our meticulous work in the domain of ERP & e-Commerce. A ray of relief & satisfaction to  our customers heart by our successful deployment in their organization, purely represents our success in Odoo platform. Hence, we take pride for being an Odoo partner with a vision of expanding our strategic alliances with our customers to offer them high value-added, trustworthy & cost effective solutions.


Since establishment, our business has span across 11 countries of the world. Our customers are companies of all sizes ranging from start-ups to large enterprises, who realize that they need a professional business solutions to generate revenue streams, establish proper communication channels or streamline business operations. Standing with strong determination of customer satisfaction, observing each minute detail of their business processes, providing proper guidance and moving forth to develop product accordingly adds our value and reliability among our customers. 


We are blessed with efficient, passionate & eclectic young developers who have come across almost all kinds of business profiles, working with full dedication, applying creativity & new features in existing modules and completing customer's projects successfully on predefined target. Our in-depth knowledge while giving business solutions in Odoo allows us to offer following services to our customers :


  • Consulting
  • Installation, Configuration & Customization
  • Training & Support
  • Maintenance
  • Upgradation
  • Documentation
  • Crafting community modules
  • Drafting videos on demand
  • Smart Apps development

We will be :) to welcome you @ www.emiprotechnologies.com to solve any kind of your business needs around Odoo. However we are just an inch away from you by email info@emiprotechnologies.com or a tweet to @EmiproTech

Emipro Technologies Pvt. Ltd.
On 11/17/14, 7:39 AM

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

2 follower(s)


Asked: 11/17/14, 7:21 AM
Seen: 2602 times
Last updated: 10/24/17, 3:41 AM