Odoo 凭据(Odoo credentials)#
你可以使用以下凭据验证以下节点:
🌐 You can use these credentials to authenticate the following nodes:
支持的身份验证方法(Supported authentication methods)#
- API 密钥(推荐)
- 密码
相关资源(Related resources)#
有关该服务的更多信息,请参阅 Odoo 的外部 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:
- 您的 网站网址
- 你的用户名
- 一个 API 密钥
- 您的 数据库名称
要使用 API 密钥设置凭据:
🌐 To set up the credential with an API key:
- 将你的 Odoo 服务器或网站 URL 输入为 网站 URL。
- 输入你在 Odoo 的 更改密码 页面上显示的 用户名。
- 要使用 API 密钥,请转到 你的个人资料 > 偏好设置 > 账户安全 > 开发者 API 密钥。
- 如果你没有此选项,你可能需要升级你的 Odoo 计划。有关更多信息,请参阅 所需计划类型。
- 选择 新建 API 密钥。
- 输入密钥的描述,例如
n8n integration。 - 选择 生成密钥。
- 复制密钥,并将其作为 密码或 API 密钥 输入到你的 n8n 凭证中。
- 输入你的 Odoo 数据库名称,也称为实例名称。
有关更多信息,请参阅 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:
- 您的 网站网址
- 你的用户名
- 你的密码
- 您的 数据库名称
要使用密码设置凭据:
🌐 To set up the credential with a password:
- 将你的 Odoo 服务器或网站 URL 输入为 网站 URL。
- 输入你在 Odoo 的 更改密码 页面上显示的 用户名。
- 要使用密码,请在 密码或 API 密钥 字段中输入你的用户密码。
- 输入你的 Odoo 数据库名称,也称为实例名称。
密码兼容性
如果你尝试使用密码凭证,但它在某个特定节点功能上不起作用,试着切换到 API 密钥。Odoo 对某些模块或根据某些设置需要使用 API 密钥。