Versions Compared

Key

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

...

  1. Update the .env file for the variables OPENMRS_ATOMFEED_USER, OPENMRS_ATOMFEED_USER and set the value as dummy. This is important so that the sync would not start from the first position

  2. Bring up odoo-connect service
    docker compose up -d odoo-connect

  3. Wait for the odoo connect service to come up and it to execute the liquibase migrations.

  4. Check the logs until it completes liquibase migrations.

  5. Now stop the service
    docker compose stop odoo-connect

  6. Reset the atomfeed credentials as it was before.

Step 3: Inserting the markers information

  1. Now exec into the odoodb container and connect to Odoo database.

  2. Execute the insert queries that we acquired from Step 1;

  3. Run select * from markers; to verify all the markers information is populated

Step 4: Starting the sync

Now the odoo-connect service can be started again so that the sync will resume from the position it was added.

Code Block
languagebash
docker compose --profile odoo up -d

Tip

Now you should have the sync resuming and any new order on EMR should sync to Odoo as it was before.