Odooオンライン¶
Odoo Online は、Odooがホストおよび管理するプライベートデータベースを提供します。Odoo Onlineデータベースは、任意のウェブブラウザを使用してアクセスでき、ローカルインストールは不要です。長期的な本番運用や、カスタムコードを必要としないカスタマイズを含むOdooの徹底的なテストに使用できます。
ちなみに
Odooを素早く試すには、テスト用の共有 デモデータベース が利用可能です。登録は不要ですが、各データベースは数時間しか利用できません。
注釈
Odoo Onlineは、カスタムモジュールまたは Odoo Apps Store のモジュールと互換性がありません。
データベース管理者¶
Odoo Onlineデータベースを管理するには、データベース マネジャー を開き、データベース管理者としてサインインしてください。
ドメイン名¶
データベースを選択して Domain Names をクリックすることで、カスタムドメイン名を設定 できます。
ちなみに
無料でドメイン名を登録 できます。
非表示¶
データベースを選択して Hide をクリックすることで、データベース マネジャーからデータベースを完全に非表示にできます。ダイアログボックスで、Yes, I don't need it anymore をクリックしてください。
注釈
非表示にしたデータベースには、そのURLを通じてアクセスできます。
管理¶
データベースを選択して Manage をクリックすることで、その他すべてのデータベース管理オプションにアクセスできます。
分析計画を切り替え¶
希望する分析計画の下にある Switch をクリックすることで、料金プラン を切り替えられます。
アップグレード¶
Upgrade をクリックして、データベースアップグレード を開始します。
注釈
このオプションは、アップグレードが利用可能な場合にのみ表示されます。
名前の変更¶
:guilabel:`名前の変更`をクリックして、データベースの名前とURLを変更します。ダイアログボックスで:guilabel:`新しい名前`を入力し、:guilabel:`名前の変更`をクリックします。
複製¶
:guilabel:`複製`をクリックして、データベースのコピーを作成します。ダイアログボックスで:guilabel:`新しい名前`を入力し、:guilabel:`複製`をクリックします。
重要
デフォルトでは、:guilabel:`テスト目的`オプションが有効になっています。これにより、複製されたデータベース上のすべての外部アクション(メール、支払い、出荷オーダなど)が無効になります。
複製は15日後に有効期限切れになります。
データベースごとに最大5つの複製を作成できます。特別な状況下では、`Odoo サポート <https://www.odoo.com/help>`_に連絡して制限を拡張してください。
バックアップをダウンロード¶
:guilabel:`バックアップをダウンロード`をクリックして、データベースバックアップを含むZIPファイルをダウンロードします。
注釈
データベースは、 Odoo Cloud Hosting SLA に従って、日次でバックアップされています。
:guilabel:`バックアップをダウンロード`オプションが無効になっている場合は、データベースが大きすぎてデータベースマネジャーを使用してダウンロードできないことを意味します。`Odoo サポート <https://www.odoo.com/help>`_に連絡して、代替ダウンロードソリューションをリクエストしてください。
管理者活動ログを表示¶
:guilabel:`管理者活動ログを表示`をクリックして、Odoo従業員またはデータベース管理者がデータベースに対して実行したすべてのアクションのログを表示します。
注釈
Odoo従業員によって実行されるアクションは、通常、Odooサポートに送信されたリクエストの結果、クイックスタートプロジェクトのコンテキスト内で実行されたもの、またはデータベースを維持するために必要なものです。
所有権を移転¶
:guilabel:`所有権を移転`をクリックして、データベース所有権の移転をリクエストするサポートチケットを作成します。
削除¶
:guilabel:`削除`をクリックして、データベースを削除し、関連するサブスクリプションを閉じます。ダイアログボックスで:guilabel:`削除`をクリックします。
危険
データベースのすべてのデータは、すべてのユーザーに対して即座に削除され、復元できません。データベースを削除する前に、:ref:`バックアップをダウンロード <odoo-online/download>`することをお勧めします。
注釈
削除後、データベースの名前は誰でも利用できるようになります。
ウェブサービス¶
Databases list¶
To retrieve a list of all databases displayed under the database manager programmatically, call the list method of the odoo.database model
via the external JSON-2 API.
import requests
API_KEY = "your_api_key"
response = requests.post(
"https://www.odoo.com/json/2/odoo.database/list",
headers={
"Authorization": f"bearer {API_KEY}",
},
json={},
)
response.raise_for_status()
databases = response.json()
curl -X POST \
'https://www.odoo.com/json/2/odoo.database/list' \
-H 'Authorization: bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{}'
Audit logs¶
To retrieve the admin activity logs of an Odoo Online database, call the get_audit_logs method of the
odoo.database model via the external JSON-2 API.
The request must provide either db_uuid or subscription_code. If db_uuid is provided, the logs for
that database are returned. Otherwise, subscription_code can be used to retrieve logs for all databases
and projects belonging to the subscription.
The optional cursor is an opaque value returned by a previous request. When provided, only logs more
recent than the cursor are returned.
Audit log retrieval is subject to rate limits and must not be performed more than once every 5 minutes.
import requests
API_KEY = "your_api_key"
response = requests.post(
"https://www.odoo.com/json/2/odoo.database/get_audit_logs",
headers={"Authorization": f"bearer {API_KEY}"},
json={"db_uuid": "<DB_UUID>"},
)
response.raise_for_status()
result = response.json()
curl -X POST \
'https://www.odoo.com/json/2/odoo.database/get_audit_logs' \
-H 'Authorization: bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{"db_uuid": "<DB_UUID>"}'
The response is a JSON object containing the logs and an opaque cursor for retrieving the next batch:
{
"logs": [
{
"date": "2026-09-04 12:13:14",
"user": "John Doe [Odoo: Foo]",
"database": "my-database",
"subscription": "sub-code",
"ip": "1.2.3.4",
"action": "Connect as",
"details": "Connected as Admin",
"authorized": true
}
],
"next_cursor": "opaque-cursor-value"
}
The request parameters are:
db_uuid(string): the UUID of the database. If provided,subscription_codeis ignored.subscription_code(string): the subscription code. Used whendb_uuidis not provided.cursor(string): an opaque cursor returned by a previous request. When provided, only logs more recent than the cursor are returned.
Each log entry contains:
date(string): the log date and time in UTC.user(string): the user who performed the actiondatabase(string): the database concerned by the action, when applicable.subscription(string): the subscription code.ip(string): the IP address from which the action was performed.action(string): the type of action.`details`(文字列):アクションに関する追加情報。
`authorized`(ブール値):アクションが承認されたかどうか。
next_cursor の値は不透明なカーソルであり、後続のリクエストで cursor として入力できます。