Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To facilitate the migration of master data from Odoo 10 to Odoo 16, a custom module named Odoo 10 Data Import has been developed. This module functions by establishing a connection with the legacy Odoo 10 database and transferring the data accordingly into the new Odoo 16.

Panel
panelIconId23ee
panelIcon:track_previous:
panelIconText⏮️
bgColor#E6FCFF

Before proceeding ensure you have made basic Odoo configurations as mentioned here

Step 1: Verifying the connectivity of Odoo 10 Database

As the module works by connecting to Odoo 10 database, the Odoo container should be able to connect to the database. In order to verify that, run the below command from inside the docker host.

Code Block
psql -h <IP of old server> -U <odoo 10 db username>

Step 2: Installing the module

  • Now login to Odoo v16 as admin user and Navigate to Menu → Apps

  • Remove the default filter for Apps and search for Odoo 10

  • You will find a module named as Odoo 10 Data Import

  • Click on Activate to install the module.

    image-20240729-083117.pngImage Added

Step 3: Configuring Database connection details

  • Once the module is installed, proceed to Menu → Bahmni → Bahmni Masters. Locate and select the menu titled "Odoo 10 Data Import."

...

  • Now Click on New.

  • In the following screen, configure the Database connnection information of the Odoo 10 database and click on Test Connection

    image-20240729-083627.pngImage Added

  • If the connection information is correct then you should get a DB Connection successful! message.

Step 4: Running the migration jobs

Now run each of the jobs by clicking on the job name button.

  1. UoM Category Migration

  2. UoM Migration

  3. Product Category Migration

  4. Product Migration

  5. Supplier Migration

  6. Customer Migration

Note: For supplier and customer migration a user input is needed to specify the range of ids to be migrated. This has been done to avoid out of memory errors in large implementations. The starting ID and ending ID should be given in the respective input fields. We recommend going with 20000 increments for each cycle.

image-20240729-084316.pngImage Added

Panel
panelIconId23ed
panelIcon:track_next:
panelIconText⏭️
bgColor#E3FCEF

Next Step: Once you have completed the masterdata import process, verify the data in their respective menus and then go back to the parent page here and continue with other metadata import from here.