Odoo Help


how to update module in a production environment?

on 5/13/13, 6:32 PM 2,424 views

If you have your OpenERP system already working and you have to modify a module (let's say a module you've developped) how is the best way to do it in order to avoid:

  • troubles
  • too long waiting times without system

we do it with the /etc/init.d/openerp-server start -u NAMEMODULE

but some times things go wrong and me must to an total update -u all and this can be a very long process

Thanks in advance


AJ Schrafel Paper Corp

--AJ Schrafel Paper Corp--
| 4 5 8
Bronx, United States
--AJ Schrafel Paper Corp--

Exploring OpenERP for business

AJ Schrafel Paper Corp
On 5/13/13, 7:06 PM

you can update the module in settings > installed modules > and there is an upgrade button on the form view of the module.


Ray Carnes

--Ray Carnes--
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 5/13/13, 10:16 PM

The answers from @patrick and @patently give you the technical process.

What you may also want to consider is creating a virtual machine that exactly mimics your production environment, called Testing. Use the same operating system, version of PostgreSQL and OpenERP.

Use this environment to test any changes to the source: upgrades, patches, developed modules.

When you need to change anything on production, try it first on Testing.

This will help you

  1. Detect problems with the upgrade process
  2. Test for problems after the upgrade process
  3. Benchmark the time for the change

This way you can verify a problem free change to production, without interrupting users.

I have to support Ray in this. If you have a production server, always use a copy for testing. Using a VM for testing allows you to do the testing easily. And in case of a crash, just get back to the previous version of the VM (or reinstall it again).

on 5/14/13, 5:10 AM



| 5 4 7
Baarn, Netherlands
On 5/13/13, 8:30 PM

What about the following steps:

  • upload the module

  • sudo service openerp restart

  • within openERP: Settings -> installed modules -> Click on your module and upgrade

The command to restart the service is needed for openERP to compile the code and know the differences.

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: 5/13/13, 6:32 PM
Seen: 2424 times
Last updated: 3/16/15, 8:10 AM