This is the documentation for older versions of Odoo (formerly OpenERP).

See the new Odoo user documentation.

See the new Odoo technical documentation.

Support and maintenance

It's when you actually use your ERP that you will obtain value from your investment. For that reason maintenance and support are critical for your long term success.

  • Support aims to ensure that end users get the maximum productivity from their use of Open ERP by responding to their questions on the use of the system. Support can be technical or functional.

  • 维护主要关注确保系统能够持续所需的工作。其中包括升级,通过升级可以获得最新的可用功能。

Some partners offer preventative maintenance. This makes sure that all the specific developments for your system are revised and tested for each new version so that they remain compatible with the base Open ERP.

Tiny themselves have changed their support strategy from time to time. At the time of writing they propose a maintenance contract supplied either direct to the end user or through partners that guarantees a quick fix to any faults discovered in the covered code. Although you can expect these fixes to become available to all users of the code in time, maintenance guarantees quick attention. And you're likely to get quicker migration support to new upgrades.

If you haven't anticipated your needs with a preventive maintenance contract, the costs of migration after a few years can become significant. If special modules that you developed have been allowed to become too old you may eventually need a new development to your specifications.

更新与升级

There are four sources of code change for Open ERP:

  • patches supplied by Tiny to correct faults: after validation these patches shouldn't cause any secondary effects,

  • minor updates, which gather the fault corrections together in one package, and are generally announced with a modification of the version number, such as from 5.0.0 to 5.0.1,

  • upgrades, which bundle both the fault corrections and the improvements to the functionality in a major release such as from 5.0.3 to 5.2.0.

  • new functions generally released in the form of new modules.

You should establish a procedure with your supplier to define how to respond to changes in the Open ERP code.

For simple updates your maintenance team will evaluate the patches to determine if they are beneficial to the use of your Open ERP. These patches should be tested on an offline instance of Open ERP before being installed in your live production version.

维护组需要同时负责日常的软件更新。

Patches and updates can only be installed if you have the necessary access to the Open ERP server. You must first install the patch or update and then restart the server using the command line: –update=all .

Once Tiny has released a new upgraded version your response should be a cautious one. If you're perfectly satisfied with the existing system it would be best to not touch the new version. If you want to have access to the new functionality supplied by an upgraded version, you have a delicate operation to carry out. Most upgrades require your data to be migrated because the databases before and after the upgrade can be a little different.

版本升级

Open ERP has a system to manage migrations semi-automatically. To update specific modules, or the whole database, you only need to start the server with the argument:–update=NAME_OF_MODULE or –update=all(that's minor module changes).

New stable versions of Open ERP sometimes require operations that aren't provided in the automated migration. Tiny, the creator and maintainer of Open ERP, has a policy of supporting migration from all official stable releases to the latest. Scripts are provided for each new release of a stable version. These carry out the upgrade from the previous major version to the new major version.

Managers responsible for the migration between two versions of Open ERP will find the documentation and the necessary scripts in the directory doc/migrate of the Open ERP server.

The changes between version 4 and 5 made the migration process more difficult than in the past so there was a greater delay in the provision of migration assistance and more manual work than usual.

迁移过程应该像这样执行:

  1. Make a backup of the database from the old version of Open ERP

  2. Stop the server running the old version

  3. Start the script called pre.py for the versions you're moving between.

  4. Start the new version of the server using the option –update=all

  5. 停止运行中的新版本服务器。

  6. Start the script called post.py for the versions you're moving between.

  7. 使用新版的服务器,并进行测试。

A migration is never an easy process. It may be that your system doesn't function as it did before or that something requires new developments in the functionality of the modules that have already been installed. So you should only move to a new version if you have a real need and should engage a competent partner to help if the version that you use differs greatly from the basic version of Open ERP.

Similarly you should take care that this migration does not incorrectly change any setting that has already been made. The main menu structure might have been modified in place without proper recording of the changes. So you could find that you're making the wrong assumptions about that structure when later loading data in that was recorded with the Module Recorder.