应用内购买(IAP)¶
应用内购买(IAP)是增强 Odoo 数据库的可选服务。每项服务都有其特定的特点和功能。服务的完整列表请参阅 Odoo IAP 目录。

Example
:guilabel:`短信`服务直接从数据库向联系人发送短信,:guilabel:`文件数字化`服务通过光学字符识别(OCR)和人工智能(AI)将扫描或 PDF 格式的供应商账单、费用和简历数字化。
IAP 服务在使用前**无需**配置或设置。Odoo 用户只需点击应用程序中的服务即可激活该服务。但是,每项服务都需要预付点数,当点数用完时,用户**必须** :ref:`购买更多<iap/buying_credits>`才能继续使用。
注解
拥有有效订阅的企业 Odoo 用户在决定购买更多数据库点数之前,可获得免费点数以测试 IAP 功能。这包括演示/培训数据库、教育数据库和单一应用程序免费数据库。
IAP 服务¶
IAP 服务由 Odoo 和第三方提供,用途广泛。
Odoo 提供以下 IAP 服务:
文件数字化:通过 OCR 和 AI 将扫描或 PDF 格式的供应商账单、费用和简历数字化。
合作伙伴自动完成:使用企业数据自动填充联系人记录。
短信:直接从数据库向联系人发送短信。
guilabel:
潜在客户生成
:根据一系列标准生成潜在客户,并将网站访客转化为高质量的潜在客户和商机。蜗牛邮件:在全球范围内通过邮寄方式发送客户发票和后续报告。
itsme®️ 签署人身份识别:要求 Odoo 签署 中的文件签署人使用*itsme®*身份平台提供其身份,该平台在比利时和荷兰可用。
有关当前可用的各项服务(由 Odoo 以外的开发者提供)的更多信息,请访问 Odoo IAP 目录。
使用 IAP 服务¶
IAP 服务自动与 Odoo 整合,用户**无需**配置任何设置。要使用服务,只需与数据库中出现的服务进行交互即可。
Example
以下流程的重点是使用联系人记录中的 短信 IAP 服务。
点击数据库中的 📱SMS 图标即可。

以下步骤展示了在 Odoo 中使用 SMS IAP 服务的一种方法:
首先,导航至 手机 或 移动电话 字段中输入了手机号码的联系人。
,然后点击在联系人表单的然后,找到出现在 手机 或 移动电话 字段右侧的 📱SMS 图标。点击:guilabel:📱SMS
图标,弹出 发送 SMS 短信 窗口。
在弹出窗口的 消息 字段中输入信息。然后,点击 发送短信 按钮。然后,Odoo 会通过短信向联系人发送信息,并在联系人表单的 沟通栏 中记录发送内容。
发送短信时,SMS |IAP|服务的预付点数将自动从现有点数中扣除。如果没有足够的点数发送信息,Odoo 会提示用户购买更多点数。
IAP 积分¶
每使用一次|IAP|服务,该服务的预付点数就会消耗一次。当剩余信用点数不足以继续使用某项服务时,Odoo 会提示购买更多信用点数。当 点数偏低 时,还可设置电子邮件提醒。
积分可以从 Odoo IAP目录 <https://iap.odoo.com/iap/all-in-app-services>_ 中的*套餐*中购买,定价针对每项服务而定。
购买信用¶
如果没有足够的点数执行任务,数据库会自动提示购买更多的点数。
用户可以通过导航至:menuselection:设置应用程序 --> 联系人部分
,在:guilabel:Odoo IAP
设置下方点击:guilabel:查看我的服务
,查看各项服务的当前点数余额,并手动购买更多点数。
Doing so reveals a My Services page, listing the various IAP services in the database. From here, click an IAP service to open its Account Information page, where additional credits can be purchased.
手动购买点数¶
要在 Odoo 中手动购买信用点数,请按照以下步骤操作:
首先,进入 搜索… 栏中输入 IAP
。或者,用户可以向下滚动到 联系人 部分。在 联系人 部分,在写有 Odoo IAP 的地方,点击 查看我的服务。

Doing so reveals an IAP Account page, listing the various IAP services in the database. From here, click an IAP service to open details about it; additional credits can be purchased from here.
On the following page, click the Buy Credit button. Doing so loads a Buy Credits for (IAP Account) page in a new tab. From here, click Buy on the desired pack of credits. Then, follow the prompts to enter payment details, and confirm the order.

交易完成后,就可以在数据库中使用积点。
积点偏低通知¶
在使用 IAP 服务时,可以在点数不足时收到通知,以避免点数耗尽。为此,请按以下步骤操作:
进入 搜索… 栏中输入`IAP`。在 联系人 部分的 Odoo IAP 字样下,点击 查看我的服务。
,在The available IAP accounts appear in a list view on the IAP Account page. From here, click on the desired IAP account to view that service’s details.
On the details page, tick the Receive threshold warning checkbox. Doing so reveals two fields on the form: Warning Threshold and Contact Email.
In the Warning Threshold field, enter an amount of credits Odoo should use as the minimum threshold for this service. In the Contact Email field, enter the email address that receives the notification.
Odoo sends a low-credit alert to the Contact Email when the balance of credits falls below the amount listed as the Warning Threshold.