python-3.xodooodoo-12odoo-15

Upgrade Odoo V12 --> V15 (CE)


Currently, I'm using Odoo 12 community version on my local system now I want to upgrade from Odoo 12.0 to Odoo 15.0 (CE).

I tried online but it's asking Enterprise subscription code.

When I tried with command as given below giving me following error. python3.7 <(curl -s https://upgrade.odoo.com/upgrade) test -d -t 15.0

Unable to get the subscription code of your database. Your database must be registered to be eligible for an upgrade.

Anyone, please help me, I would be very thankful. Thank You


Solution

  • Follow the steps described in Running the migration.

    For versions earlier than 14.0, you will need to run the OpenUpgrade fork rather than Odoo itself.

    First, you will need to upgrade from 12 to 13

    Or, for older versions: check out the OpenUpgrade source code from Github for the branches you need. Each branch migrates to its version from the previous version, so branch 13.0 migrates from 12.0 to 13.0. If you are migrating across multiple versions, you need to run each version of OpenUpgrade in order. Skipping versions is not supported.

    The OpenUpgrade repository includes both openupgrade_framework and openupgrade_scripts:

    https://github.com/OCA/openupgrade

    Edit the configuration files and command line parameters to point to the database you are going to upgrade. The recommended command line parameters are the:

    --update all --stop-after-init --load=base,web,openupgrade_framework flags.  
    

    For versions earlier than 14.0 that are running the OpenUpgrade fork rather than Odoo itself, you do not pass the load parameter.

    Edit:

    Check the OCA Days 2021 - Raúl Ortiz: Open Upgrade Discussion for more details.