Odoo
Version 26.2.9623
Version 26.2.9623
Odoo
CData Sync アプリケーションからOdoo コネクタを使用して、Odoo からデータを取得してサポートされている任意の同期先に移動できます。これを行うには、コネクタを追加し、コネクタへの認証を行い、接続を完了する必要があります。
Prerequisite
To allow Sync to determine which models your user can access in Odoo, the connected user must have read permissions for ir.model.access (an internal Odoo model that manages access rights). While this permission is reserved typically for administrators, you can grant it to any user by creating a service group, as explained below:
-
As an administrator, open the Odoo settings page and enable developer mode. If this mode is not available, you might need to login as the superuser instead.
-
Navigate to the Groups page (available below the Users drop-down list) and create a new group.
-
Set Application to Administration and Name to Service Access.
-
On the Users tab, add users who need service access.
-
On the Access Rights tab, enter the model (
ir.model.access), select the Read Access checkbox, and name your service group Inspect Models. -
Save the new group.
If you cannot grant access by creating a new group, then you should set Check Permissions to False. This action displays all models in Odoo as tables, regardless of your user’s actual permissions for those models.
Odoo コネクタを追加
Sync でOdoo のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります。
-
Sync のダッシュボードから接続ページを開きます。
-
接続を追加をクリックしてコネクタを選択ページを開きます。
-
データソースタブをクリックしてOdoo 行に移動します。
-
行末にある接続を設定アイコンをクリックして、新しい接続ページを開きます。この操作により、接続を追加ダイアログボックスが開きます。
Note:接続を設定アイコンが表示されない場合は、コネクタをダウンロードアイコンをクリックして Odoo コネクタをインストールしてください。
-
接続を追加ダイアログボックスに接続名を入力します。
-
追加をクリックして、コネクタの設定タブを開きます。
新しいコネクタのインストールについての詳細は、接続を参照してください。
Odoo への認証
コネクタを追加したら、必須プロパティを設定する必要があります。
-
URL: Enter the base URL for your Odoo database (for example, https://MyCompany.odoo.com).
-
User: Enter the username that you use to authenticate to Odoo.
-
API Token: Enter the API token (or password) that you use to authenticate to Odoo.
-
Odoo Edition: Select the edition of Odoo that you want to use.
-
Odoo Online (default)
-
Odoo OnPremise: With this edition, you must also enter the name of the Odoo database to which you want to connect. Enter the name in the Database text box.
-
Complete Your Connection
To complete your connection:
-
For Check Permissions, select whether you want to use Odoo user permissions to determine which tables and lists to view. By default, the Enable checkbox is already selected.
-
高度な設定タブで接続の高度な設定を定義します。(ただし、ほとんどの場合これらの設定は必要ありません。)
-
作成およびテストをクリックして接続を作成します。
詳細情報
CData Sync とOdoo の連携について、詳しくはOdoo Connector for CData Sync を参照してください。