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 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
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 forOdoo 10
You will find a module named as
Odoo 10 Data Import
Click on Activate to install the module.
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
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.
UoM Category Migration
UoM Migration
Product Category Migration
Product Migration
Supplier Migration
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.
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
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. |