Skip to content

Odoo 凭据#

¥Odoo credentials

你可以使用以下凭据验证以下节点:

¥You can use these credentials to authenticate the following nodes:

支持的身份验证方法#

¥Supported authentication methods

  • API 密钥(推荐)

¥API key (Recommended)

  • 密码

¥Password

相关资源#

¥Related resources

有关服务的更多信息,请参阅 Okta 外部 API 文档

¥Refer to Odoo's External API documentation for more information about the service.

如果你是 Odoo 新手,请参阅 Odoo 入门教程

¥Refer to the Odoo Getting Started tutorial if you're new to Odoo.

使用 API 密钥#

¥Using API key

要配置此凭据,你需要一个 Odoo 数据库用户账户以及:

¥To configure this credential, you'll need a user account on an Odoo database and:

  • 你的网站 URL

¥Your Site URL

  • 你的用户名

¥Your Username

  • API 密钥

¥An API key

  • 你的数据库名称

¥Your Database name

要使用 API 密钥设置凭据:

¥To set up the credential with an API key:

  1. 请输入你的 Odoo 服务器或站点 URL 作为站点 URL。

¥Enter your Odoo server or site URL as the Site URL. 2. 请输入你在 Odoo 中“更改密码”屏幕上显示的用户名。

¥Enter your Username as it's displayed on your Change password screen in Odoo. 3. 要使用 API 密钥,请前往“个人资料”>“首选项”>“账户安全”>“开发者 API 密钥”。

¥To use an API key, go to Your Profile > Preferences > Account Security > Developer API Keys.

  • 如果你没有看到此选项,则可能需要升级你的 Odoo 套餐。有关更多信息,请参阅 必填计划类型

    ¥If you don't have this option, you may need to upgrade your Odoo plan. Refer to Required plan type for more information. 4. 选择“新建 API 密钥”。

¥Select New API Key. 5. 输入密钥的描述,例如 n8n integration

¥Enter a Description for the key, like n8n integration. 6. 选择“生成密钥”。

¥Select Generate Key. 7. 复制密钥并将其作为密码或 API 密钥输入到你的 n8n 凭据中。

¥Copy the key and enter it as the Password or API key in your n8n credential. 8. 请输入你的 Odoo 数据库名称,也称为实例名称。

¥Enter your Odoo Database name, also known as the instance name.

有关更多信息,请参阅 Odoo API 密钥

¥Refer to Odoo API Keys for more information.

使用密码#

¥Using password

要配置此凭据,你需要一个 Odoo 数据库用户账户以及:

¥To configure this credential, you'll need a user account on an Odoo database and:

  • 你的网站 URL

¥Your Site URL

  • 你的用户名

¥Your Username

  • 你的密码

¥Your Password

  • 你的数据库名称

¥Your Database name

要使用密码设置凭据:

¥To set up the credential with a password:

  1. 请输入你的 Odoo 服务器或站点 URL 作为站点 URL。

¥Enter your Odoo server or site URL as the Site URL. 2. 请输入你在 Odoo 中“更改密码”屏幕上显示的用户名。

¥Enter your Username as it's displayed on your Change password screen in Odoo. 3. 要使用密码,请在“密码或 API 密钥”字段中输入你的用户密码。

¥To use a password, enter your user password in the Password or API key field. 4. 请输入你的 Odoo 数据库名称,也称为实例名称。

¥Enter your Odoo Database name, also known as the instance name.

Password compatibility

如果你尝试使用密码凭据登录某个节点函数,但失败,请尝试切换到 API 密钥。Odoo 的某些模块或某些设置需要 API 密钥。

¥If you try a password credential and it doesn't work for a specific node function, try switching to an API key. Odoo requires an API key for certain modules or based on certain settings.

必填计划类型#

¥Required plan type

Required plan type

仅在自定义 Odoo 计划中提供对外部 API 的访问。(One App 免费版或标准版套餐不提供此权限。)

¥Access to the external API is only available on a Custom Odoo plan. (The One App Free or Standard plans won't give you access.)

有关更多信息,请参阅 Odoo 定价方案

¥Refer to Odoo Pricing Plans for more information.