SharpSync
  • Welcome
  • Fundamentals
    • Getting Started
      • Registration
      • Landing Page
      • Support
      • Subscription
    • Data Sources
    • Property Mappings
      • Adding Property Mapping
      • Property Mapping Settings
    • Rules
      • Import / Export
        • Append text
        • Calculate number
        • Export manipulation
        • Format as decimal number
        • Prepend text
        • Remove property
        • Replace all instances
        • Replace first instance
        • Round to nearest X
        • Select from JSON
        • Set cell value
        • Set empty cells
        • Text manipulation
      • Display
        • Number between
        • Text contains
        • Text ends with
        • Text evaluation
        • Text is a number
        • Text is exactly
        • Text is in list
        • Text is not a number
        • Text is not empty
        • Text is not in list
        • Text length between
        • Text length is exactly
        • Text maximum length
        • Text minimum length
        • Text not contains
        • Text not ends with
        • Text not starts with
        • Text starts with
      • Advanced Scripting
    • BOM Comparison
    • Data Safety
    • Troubleshooting
      • Duplicate component paths
      • OAuth 2.0
  • Data Sources
    • Autodesk Inventor
    • CSV
      • Getting Started
      • Importing a Bill of Materials (BOM)
    • MS Dynamics 365 Business Central
      • Getting Started
      • Item Fields Json & Internal Names
      • Resource Fields Json & Internal Names
      • List Names For nestedObject Mappings
    • NetSuite
      • OAuth Setup
        • Permissions
      • RESTlet Script Setup
        • SharpSync RESTlet Script
      • Thumbnail Folder Setup
      • Authentication + Configuration
      • Common setup
        • Configure quantity mapping
        • Configure accounts mappings
        • Configure itemType mapping
        • Configure isPhantom mapping
        • Configure subsidiary mapping
        • Configure price mapping
        • Configure Where Used Link mapping
        • Configure thumbnail mapping
        • Read-Only NetSuite Fields
        • Common Mapping Rules
        • Common List names
      • Advanced Bill of Materials
      • Configure Routings
      • Integration tips
      • Troubleshooting
    • Odoo
      • Getting Started
        • Authentication + Configuration
        • Debugging tips
      • Common Setup
        • Map BOM Codes
        • Map BOM Types
        • Map Attribute Values
          • Reading Attributes - Overview
          • Display All Attribute Names
          • Display Single Attribute Values
          • Writing attributes
      • Product Management
      • Hosting Options
      • List Names
      • Permissions
      • Troubleshooting
    • Onshape
      • Getting Started
      • Setting up Derivatives
    • Propel PLM
      • Getting Started
    • SolidWorks
    • SolidWorks PDM
      • Downloading and installing the add-in
      • Configure the add-in
      • Setting up the Solidworks PDM Web 2
      • Troubleshooting
      • Submitting a BOM for update
  • Advanced
    • Derivatives
  • User management
    • User Management
    • Application Permissions
Powered by GitBook
On this page
  1. Data Sources
  2. Odoo
  3. Getting Started

Authentication + Configuration

PreviousGetting StartedNextDebugging tips

Last updated 2 months ago

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}.dev.odoo.com
  • Scroll to the bottom of the page and click UPDATE

  • Click CONFIGURE

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

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

  • Enter the Database name.

To find the database name navigate to

The database name is case sensitive.

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

  • 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, though if you plan on using configurations, you would probably select a field for product.product

  • Primary Identifier: default_code

  • Alternative Identifier: name

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)

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:

https://odoo.sharpsync.net

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

odoo.app.17.713

Basic Auth Username

The name of the user connecting to Odoo.

yourusername@domain.com

Basic Auth Password

The password used to connect with the associated username

Major version of Odoo that you have (e.g. 17 or 16)

The version of Odoo that is installed and will be used. 2 digit number

17

If specified, use this custom property to display the name in the hierarchy

A property used to show the names of components in SharpSync.

name

If specified, loads additional properties from these models (each on new line)

Additional models to load custom property mappings for. These are custom per installation (if any)

vehicle.make
vehicle.model

Use this scheme to create new BOM revision names

This value defines the naming scheme to search for existing BOM names. It is calculated at runtime based on the Primary DataSource's row**

{rowData.componentName}_{rowData.cells.revision}

** 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_Binstead of A1_A

** Authentication Types
  • OAuth 2.0 - not support - contact us for implementation

  • API Key - not currently supported

  • Basic Auth (username / password) - supported

Configure the component Identifiers as follows:

Primary and Alternative
https://{myEnterpriseInstance}/web/database/selector