minhng92 / odoo-16-docker-compose

Set up Odoo 16 (released 2022) quickly for development/production using Docker Compose.
127 stars 139 forks source link

How to upgrade from community to enterprise? #3

Open ysaimuey opened 1 year ago

ysaimuey commented 1 year ago

I'm running odoo-16-docker-compose and I'd like to upgrade to enterprise version. Please advise how to do it.

minhng92 commented 1 year ago

Hi @ysaimuey ,

You can setup Odoo enterprise with odoo-16-docker-compose like this:

  1. Create a new folder in "addons" named "enterprise" and put the enterprise addons in "addons/enterprise"
  2. Append the path to addons_path in the config file at "etc/odoo.conf"
  3. Restart the Odoo container (or down and up the Odoo container again):
    $ docker-compose restart
    # or
    $ docker-compose down
    $ docker-compose up -d

    You should deploy Odoo enterprise with docker-compose in a separate directory without running Odoo community database(s).

image

After deploying Odoo enterprise with docker-compose, please create a new enterprise database and import data from community version (if you have a running community instance)