Skip to Content

Odoo connection

Introduction

An Odoo connection, created using the Odoo connector, establishes access to Odoo. These activities, once configured, interact with Odoo through the connection.

Important

We recommend using the Odoo v2 connector to connect to Odoo as it allows for additional configuration properties.

Create or edit an Odoo connection

A new Odoo connection is created using the Odoo connector from one of these locations:

An existing Odoo connection can be edited from these locations:

Configure an Odoo connection

Each user interface element of the Odoo connection configuration screen is described below.

Tip

Fields with a variable icon support using global variables, project variables, and Jitterbit variables. Begin either by typing an open square bracket [ into the field or by clicking the variable icon to display a list of the existing variables to choose from.

  • Connection Name: Enter a name to use to identify the connection. The name must be unique for each Odoo connection and must not contain forward slashes (/) or colons (:). This name is also used to identify the Odoo endpoint, which refers to both a specific connection and its activities.

  • Authentication: When selected (default), shows additional settings. For documentation, see Establishing a connection and Additional configurations properties:

    • URL: Enter the URL.

    • Database: Enter the database.

    • User: Enter the user.

    • API Token: Enter the API token.

    • Check Permissions: When selected (default), specifies to check permissions.

  • SSL: When selected, shows additional settings. For documentation, see Establishing a connection and Additional configurations properties:

    • SSL Server Cert: Enter the SSL server certificate.
  • Use Proxy Settings: Select to use private agent proxy settings.

  • Advanced Configurations: When selected, shows the Advanced Configurations Properties table, which is used to add additional configuration properties as key-value pairs.

    • Add: Adds a row to the table. Enter a key-value pair for each property.
    • Submit: Saves the key-value pair to the table. Visible when hovering on a row in edit mode.
    • Discard: Discards a new row or any edits made to an existing row. Visible when hovering on a row in edit mode.
    • Edit: Allows you to edit an existing key-value pair. Visible when hovering on an existing row.
    • Delete: Deletes the row from the table. Visible when hovering on an existing row.
    • Clear All: Deletes all rows from the table.

    Important

    Fields in the Advanced Configurations table display the variable icon only in edit mode. For these fields' variable values to be populated at runtime, the agent version must be at least 10.75 / 11.13.

  • Test: Click to verify the connection using the specified configuration. When the connection is tested, the latest version of the connector is downloaded by the agent(s) in the agent group associated with the current environment. This connector supports suspending the download of the latest connector version by using the Disable Auto Connector Update organization policy.

  • Save Changes: Click to save and close the connection configuration.

  • Discard Changes: After making changes to a new or existing configuration, click to close the configuration without saving. A message asks you to confirm that you want to discard changes.

  • Delete: After opening an existing connection configuration, click to permanently delete the connection from the project and close the configuration (see Component dependencies, deletion, and removal). A message asks you to confirm that you want to delete the connection.

Next steps

After an Odoo connector connection has been created, you place an activity type on the design canvas to create activity instances to be used either as sources (to provide data in an operation) or as targets (to consume data in an operation).

Menu actions for a connection and its activity types are accessible from the project pane and design component palette. For details, see Actions menus in Connector basics.

These activity types are available:

  • Query: Retrieves records from a table at Odoo and is intended to be used as a source in an operation.

  • Create: Inserts a record into a table at Odoo and is intended to be used as a target in an operation.

  • Update: Updates a record in a table at Odoo and is intended to be used as a target in an operation.

  • Delete: Deletes a record from a table at Odoo and is intended to be used as a target in an operation.

  • Execute: Executes a procedure at Odoo and is intended to be used as a target in an operation.