Skip to Content

Odoo v2 Connection

Introduction

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

Create or Edit an Odoo Connection

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

An existing Odoo v2 connection can be edited from these locations:

Configure an Odoo Connection

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

Tip

Fields with a variable icon 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 v2 connection and must not contain forward slashes (/) or colons (:). This name is also used to identify the Odoo v2 endpoint, which refers to both a specific connection and its activities.

  • URL: Enter the URL.

  • User: Enter the user.

  • API Token: Enter the API token.

  • Odoo Edition: Select the odoo edition, one of:

    • Odoo Online

    • Odoo OnPremise

      • Database: Enter the database.
  • Check Permissions: When selected (default), specifies to check permissions.

  • 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.

    Click the add icon add icon to add a row to the table below and enter a key-value pair for each property.

    To save the row, click the submit icon submit icon in the rightmost column.

    To edit or delete a single row, hover over the rightmost column and use the edit icon edit icon or delete icon delete icon.

    To delete all rows, click Clear All.

    Important

    Fields in the Advanced Configurations table display the variable icon 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.