...
Update the .env file for the variables
OPENMRS_ATOMFEED_USER
,OPENMRS_ATOMFEED_USER
and set the value asdummy
. This is important so that the sync would not start from the first positionBring up odoo-connect service
docker compose up -d odoo-connect
Wait for the odoo connect service to come up and it to execute the liquibase migrations.
Check the logs until it completes liquibase migrations.
Now stop the service
docker compose stop odoo-connect
Reset the atomfeed credentials as it was before.
Step 3: Inserting the markers information
Now exec into the odoodb container and connect to Odoo database.
Execute the insert queries that we acquired from Step 1;
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 | ||
---|---|---|
| ||
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. |