Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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.

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.

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.png

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."

image-20240729-083502.png
  • 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.png

  • 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.png

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.

  • No labels