userAuthentication + Configuration

To integrate with an Odoo instance, we have to setup an

  • In the Navigation Bar, select Data Sources

  • On the right (in Data Sources), select Odoo as the Data Source and click the ADD DATASOURCE button

  • Change the Server URL to:

    https://{myEnterpriseInstance}.odoo.com
  • Scroll to the bottom of the page and click UPDATE

Update the database name and login credentials

  • Click CONFIGURE

  • On the first tab (Authentication), change the Base API Path to: https://{myEnterpriseInstance}.odoo.com

  • This should match the first url you entered as the server url in the previous step

  • Leave the Authentication Types drop-down on Basic Authentication.

  • Enter the Database name.

  • You can find this in one of 2 ways:

circle-info

1st option: To find the database name navigate to https://{myEnterpriseInstance}.odoo.com/web/database/selectorarrow-up-right

[This may be disabled for your instance]

circle-info

2nd option: To find the database name navigate to

{myEnterpriseInstance} > Settings > Activate developer mode (right at the bottom)

After selecting this, the database name will be displayed in the top right corner

circle-exclamation
  • Enter the username and password.

  • The configuration should look something like the image below:

  • On the second tab (BOM Configuration) enter the version number in the form of 2 digits (e.g. 16, 17, or 18). [Do not append a version at the end (e.g. 18.3), only use 2 digits

  • Click the SAVE button to save your connection details and close the form.

  • Click AUTHENTICATE. If the configuration is successful, the Authentication Status will update and show Connected.

Primary and Alternative component identifiers

The primary and alternative identifiers can be used for product.product or product.template .

Configure the Primary and Alternative component Identifiers as follows:

  • Primary Identifier: default_code

  • Alternative Identifier: name

circle-info

You can specify any Primary Identifier (field linked to the product.template model) that is used on product templates e.g. name, barcode. You can even use custom field names, as long as the field uniquely identifies the part (it must be a unique identifier)

circle-info

An alternative identifier is that field which is used when no value (or a blank value) is found in the Primary Identifier

Odoo supports a number of types of authentication. The auth method supported in SharpSync is Basic. The configuration values in SharpSync are shown below.

Base API path

This is the full link [including your customer id] to the Odoo Instance. Typically something like:

Authentication Types (see below**)

The type of authentication method to use when authenticating with NetSuite. We only support:

Basic

Database name

The name of the database in Odoo. Take note that it is case sensitive

Basic Auth Username

The name of the user connecting to Odoo.

Basic Auth Password

The password used to connect with the associated username

** Revision scheme: Used for searching, this is based on the raw data from the Primary Source data before any Property Mapping rules (Import) have run. When a new BOM is created, the final value from the rows cells will be used. So if you manipulate the text in SharpSync to

  1. Change from

  2. Assembly A1, Rev A to

  3. Assembly A1, Rev B

  4. Then the Bill of Materials Name will be A1_B instead of A1_A

chevron-right** Authentication Typeshashtag
  • OAuth 2.0 - not supported - contact us for implementation

  • API Key - not currently supported - contact us for implementation

  • Basic Auth (username / password) - supported

Last updated