> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sync.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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:

1. 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.
2. Navigate to the **Groups** page (available below the **Users** drop-down list) and create a new group.
3. Set **Application** to **Administration** and **Name** to **Service Access**.
4. On the **Users** tab, add users who need service access.
5. On the **Access Rights** tab, enter the model (`ir.model.access`), select the **Read Access** checkbox, and name your service group **Inspect Models**.
6. Save the new group.

If you cannot grant access by creating a new group, then you should set [**Check Permissions**](#check) to **False**. This action displays all models in Odoo as tables, regardless of your user's actual permissions for those models.

## Odoo コネクタを追加

Sync でOdoo のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります：

<ol>
  <li>Sync のダッシュボードから**接続**ページを開きます。</li>
  <li>**接続を追加**をクリックして**コネクタを選択**ページを開きます。</li>
  <li>**データソース**タブをクリックして
  **Odoo** 行に移動します。</li>

  <li>
    行末にある**接続を設定**アイコンをクリックして、**新しい接続**ページを開きます。この操作により、
    **接続を追加**ダイアログボックスが開きます。

    **Note：** **接続を設定**アイコンが表示されない場合は、**コネクタをダウンロード**アイコンをクリックして Odoo コネクタをインストールしてください。
  </li>

  <li>**接続を追加**ダイアログボックスに接続名を入力します。</li>
  <li>**追加**をクリックして、コネクタの**設定**タブを開きます。</li>
</ol>

新しいコネクタのインストールについての詳細は、
[接続](https://docs.sync.cdata.com/26.4/ja/connections/connections.md)を参照してください。

## Odoo への認証

After you add the connector, you need to set the required properties.

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

## 接続を完了する

To complete your connection:

1. 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.
2. Define advanced connection settings on the **Advanced** tab. (In most cases, though, you should not need these settings.)
3. Click **Create & Test** to create your connection.

## 詳細について


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.