导航栏

升级

概述

The upgrade process

This documentation is for our On-Premise (self-hosted) and Odoo.sh customers. If you are hosted Online, please check our instruction page for our Online (SaaS) customers.

定义

An upgrade is switching to a newer version of Odoo (e.g., Odoo 13.0 to Odoo 14.0)

An upgrade does not cover:

  • changing Editions (i.e., Community to Enterprise edition)
  • switching hosting type (i.e., On-Premise to Online or Odoo.sh)
  • migration from another ERP to Odoo

Process workflow

The upgrade process in a nutshell:

  1. You create a test upgrade request.
  2. The request is processed by Odoo:
    This happens via an automated process that runs the database through an upgrade script and takes between 20 and 120 minutes. Only if an issue(s) arises will we have to intervene manually and adjust the script specifically to your database until the upgrade succeeds.
  3. Odoo delivers a test database.
  4. You test your database for possible discrepancies (see Test guidance)
  5. If there are any discrepancies, you report them to the Upgrade support team via the Help portal.
  6. We will fix the issues and send you a new test database.
  7. Once you completed the testing and are happy with the result, you decide on a date and time when you stop users from accessing Odoo, freeze all data entries and create an upgrade request for the production upgrade.
  8. Odoo delivers the production database through the automated process.
  9. You restore it in your Production environment a few short hours later and continue working on the newly upgraded database.

Service Level Agreement

What is covered by the Enterprise Licence?

Databases hosted on Odoo’s Cloud platforms (Saas and Odoo.sh) or On-Premise (Self-Hosting) enjoy the following service at all times.

The upgrade of:

  • standard applications
  • Studio customization (as long as the Studio app is still active)
  • customizations done by our consulting and developer services if they are covered by a ‘Maintenance of Customisations’ subscription

The Upgrade Service is limited to the technical conversion and adaptation of your database (standard modules and data) to make it compatible with the targeted version.

What upgrading does NOT cover

  • The cleaning of pre-existing data & configuration while upgrading
  • Any new developments and/or upgrade of your own custom modules
  • Training on the new version

You can get more information about your Enterprise Licence on our Odoo Enterprise Subscription Agreement page.

开始使用

The upgrade process varies depending on where your database is hosted.

Online (SaaS)

If you are hosted Online, please check our instruction page for our Online (SaaS) customers.

Odoo.sh

If you are Odoo.sh hosted, check our specific instructions to be able to upgrade.

本地部署

There are two possibilities:

  1. Via the interface of our website form
  2. For technically-advanced users and partners, via the following command line (to be used on the machine where your database is hosted):
    python <(curl -s beta.upgrade.odoo.com/upgrade) test -d <your db name> -t 14.0

What does it do?

The above command will dump your database to a file, then send it to the upgrade platform for upgrade, displaying you the live logs, then restore the upgraded database back on your server as a duplicate test database.

步骤

The testing phase

Test process

Also referred to as the pre-production phase, the test phase allows you to review an upgraded version of your database without affecting your production database in any way.

We suggest that you run the test upgrade process at least once, but you can do it as often as you want (one at a time).

Once you receive your upgraded test database, you should check that all data, processes and functionality are still correct and working as expected.

If you do find discrepancies, you’ll be able to:

When you do not find any discrepancies, you’ll be able to:

Request a test database

When filling the website form, select Testing purpose.

Selection of the "Testing" purpose in the upgrade form on Odoo

Test guidance

Every business and organization has its own operational needs and will have to test its specific Odoo instance respectively. However, we recommend you look at the test scenario we created, a high-level idea of what you should test and look out for.

协助

If you encounter issues or problems in the test database, please contact the Odoo Upgrade Support:

  1. Connect to our Odoo Support page.
  2. Under the Ticket Description section, select An issue related to my upgrade ticket type.

    Selection of "An issue related to my upgrade" as Ticket Type in the support form on Odoo
  3. Please provide as much detail as you can. Where applicable, illustrate the current and previous flows with videos and/or screenshots. This will avoid clarifying questions and speed up the resolution process significantly.

    "Detailed Description" field in the support form on Odoo

The production launch

Production goes live

The production upgrade request is when you decide to upgrade your current database with all your production data (invoices, VAT returns, inventories, current orders) to a new version of your choice.

After your tests are completed to your satisfaction, submit the request to upgrade your production database via our website form. Select Production purpose.

Selection of the "Production" purpose in the upgrade form on Odoo

协助

If you encounter issues or problems in the production database, please contact the Odoo Support:

  1. Connect to our Odoo Support page.
  2. Under the Ticket Description section, select the appropriate type related to your issue but do not select the option An issue related to my upgrade.

  3. Please provide as much detail as you can. Where applicable, illustrate the current and previous flows with videos and/or screenshots. This will avoid clarifying questions and speed up the resolution process significantly.

    "Detailed Description" field in the support form on Odoo

常问问题

Why upgrade?

When to upgrade?

Whenever you want. You can make your upgrade request as soon as a new version is released on our website form.

Availability of the new version

Please kindly note that as soon as we announce the release of a new major version (usually at the end of year), the Upgrade Service team needs to adapt the upgrade scripts to it, which is why the new version is not immediately available for existing databases.

Finalization of the upgrade (ETA)

Unfortunately, it is impossible to give time estimates for every upgrade request. Odoo offers so many possibilities (e.g. branding, workflows, customization, etc) that it can get tricky to upgrade, and translate to the new structure. If you use multiple apps managing sensitive data (e.g., Accounting, Inventory, etc.), some cases may still require a human intervention, making the process slower.

This is especially true during the first months following the release of a new major version, which can significantly lengthen the upgrade delay.

In general, the ‘smaller’ the database, the quickest the upgrade. A single-user database that uses only CRM will be processed faster than a multi-company, multi-user database that uses Accounting, Sales, Purchase, and Manufacturing.

So, in a nutshell, what can impact your upgrade lead time?

  • Source & targeted versions
  • Installed apps
  • Volume of data
  • Amount of customization (models, fields, methods, workflows, reports, website, etc.)
  • Installation of new apps or configuration changes after the start of the test phase

Usually, the delays experienced during the first request (waiting time between the time you submitted your first request for a test upgrade) can generally give you an idea of the time to wait for the production request.

Upgrade of the custom modules

As stated in our Odoo Enterprise Subscription Agreement, section 5.1 Standard charges, this optional service is subject to additional fees.

If you have a custom code, you can choose to have it upgraded by our services, by one of our partners or you can do it yourself.

Editions change (from Community to Enterprise)

An upgrade does not cover a change of Editions

Switching the hosting types (Self-hosted vs Online vs Odoo.sh)

An upgrade does not cover a change of Hosting types.

Open the following link to get more information about how to change your hosting type.

Release Notes by version

Open our Release Note page to get a summary of the new features and improvements made in each version.

协助

Contact our Upgrade service support

Should you have any more questions about the upgrade, do not hesitate to send a message to Odoo Upgrade Team. We will be very pleased to answer it as soon as possible.

支持的版本

Please note that Odoo provides support and bug fixing only for the three last major versions of Odoo.

This is a factor to take into consideration before upgrading. If you are on an older version, we suggest you to prefer the most recent version to benefit from a longer support (before having to upgrade again).

You can get more information about our supported versions.