Skip to content

Odoo -> GroceryKey Sync

  • [TODO] Link to bitbucket repo
  • [TODO] Document the other connectors

The connector for GrocerKey to Odoo lives outside Odoo.

The product sync to Grocery Key is done through the grocery_key_flat_file_integration task. This task is scheduled under the ECS_Backend_APIs cluster.

The flat file sync looks for products with the is_published boolean set.

To access the scheduled task:

1. Go to Elastic Container Service.
2. Open Clusters.
3. Click ECS_Backend_APIs
4. Click the Scheduled Tasks tab.
5. Open the grocery_key_flat_file_integration task.

You can change the configuration or schedule here.

To manually run the task:

1. Go to Elastic Container Service.
2. Open Task Definitions.
3. Search for grocery_key_flat_file_integration.
4. Select the task.
5. Click Deploy > Run task.
6. Next you'll need to select the cluster and specify some settings to run the task.
    a. (These settings are taken from the Scheduled Task)
    b. Existing cluster: ECS_Backend_APIs
    c. Capacity provider: FARGATE
    d. Platform version: LATEST
    e. Networking: vpc-044d475b0716dacc6 (10.0.0.0/16) 
    f. Subnets:
        i. subnet-0ca30cc31e339110d

To request the sync from GrocerKey Manager:

1. In the left sidebar, look for Temp towards the bottom.
2. Under Temp, click Admin Operation.
3. You should see a Sync Store button. Click the button to start a sync.
    a. A sync will be needed for each store.
    b. Click the store name to open a menu and select a different store the sync.

image.png