用户¶
Odoo 将 用户 定义为可以访问数据库的人。管理员可根据公司需要添加任意数量的用户,为了限制每个用户可访问的信息类型,可对每个用户应用规则。用户和访问权限可随时添加和更改。
添加个人用户¶
要添加新用户,请导航至 ,然后点击 新建。
在表格中填写所有必要信息。在 访问权限 选项卡下,选择每个应用程序中用户可以访问的组。
显示的应用程序列表基于此数据库上已安装的应用程序。
填写完页面上所有必填字段后,点击 (手动保存)。系统会自动向用户发送一封邀请邮件,该邮件将发送至 电子邮箱地址 字段中的邮箱。用户必须点击邮件中的链接以接受邀请,并创建数据库登录信息。
警告
如果公司采用按月订购计划,数据库会自动更新,以反映新增的用户。如果公司采用的是年度或多年计划,数据库中会出现一个到期横幅。可以通过点击横幅更新订阅来创建追加销售报价。或者,发送支持票 以解决问题。
用户类型¶
可以在 管理用户 页面选择 用户类型,方法是点击搜索栏,然后 设置筛选器 为 内部用户 或 门户用户。
Odoo 数据库有三种类型的用户:内部用户、门户用户`和 :guilabel:`公共用户。内部用户被视为 内部数据库 用户。门户用户是 外部用户,他们仅能通过数据库门户查看记录。公共用户则是通过网站前端访问网站的用户。请参阅 用户门户 相关文档。
门户 用户选项不允许管理员选择访问权限。这些用户预先设置了特定的访问权限(如记录规则和限制菜单),通常不属于通常的 Odoo 组。
用户设备¶
出于安全考虑,当用户登录数据库时,各种登录信息(例如 IP 地址)会存储在用户的个人资料中。建议定期检查这些信息,以确保所有访问均来自该用户本人,且未被他人擅自访问数据库。
To check the logged-in devices, click the user icon in the upper-right corner, and click My Preferences to open the user’s profile. Click the Security tab to view a list of all devices the user has logged into the database with. Any device currently logged into the system displays a green circle next to the device name on the Kanban card.
撤销设备¶
If a listed device is not a legitimate user device and could be a potential security risk, remove the device and revoke access by clicking the Log out button.
An Access Control pop-up window loads, requesting the user to confirm their identity. Enter the user’s password, then click Confirm Password.
The device disappears from the Security tab and can no longer be used to log into the database.
停用用户¶
要停用(即存档)用户,请访问 。然后,勾选要停用的用户左侧的复选框。
选择要存档的相应用户后,点击 (操作) 图标,并从出现的下拉菜单中选择 存档。然后,在弹出的 确认 窗口中点击 OK。
错误:用户过多¶
如果 Odoo 数据库中的用户数多于 Odoo 企业版订阅中的配置数,则会显示以下消息。
信息出现后,数据库管理员有 30 天时间在数据库过期前采取行动。倒计时每天更新。
解决该问题:
点击消息中显示的 升级订阅 链接,验证追加销售报价,并为额外用户付费,从而为订阅添加更多用户。
停用用户,并拒绝追加销售报价。
警告
如果公司采用按月订购计划,数据库会自动更新,以反映新增的用户。如果公司采用的是年度或多年计划,数据库中会出现一个到期横幅。点击横幅可创建一个追加销售报价,以更新订购。此外,用户还可以 `发送支持工单 <https://www.odoo.com/help>`_来解决问题。
一旦数据库有了正确的用户数量,过期信息就会在几天后自动消失,届时将进行下一次验证。
密码管理¶
密码管理是允许用户随时自主访问数据库的重要组成部分。Odoo 提供了几种不同的方法来重置用户密码。
小技巧
To enforce a minimum password length requirement, install the
Password Policy (auth_password_policy) module. Then, open the Settings
app, navigate to the Permissions section, and enter the desired password length in the
Minimum Password Length field. By default, the value is 8.
重置密码¶
有时,用户可能希望重置个人密码以提高安全性,这样只有他们才能访问密码。Odoo 提供两种不同的重置选项:一种是由用户主动重置密码,另一种是由管理员触发重置。
启用登录页面密码重置功能¶
可以直接从登录页面启用/禁用密码重置。该操作由个人用户完成,默认情况下启用该设置。
要更改此设置,请转到 部分,激活 密码重置,然后点击 保存。
在登录页面,点击:guilabel:重置密码,启动密码重置程序,并将重置口令发送到存档的电子邮件中。
发送重置说明¶
进入 ,从列表中选择用户,然后点击用户表单上的 发送密码重置说明。系统将自动向他们发送一封包含密码重置说明的电子邮件。
电子邮件中包含重置密码所需的所有内容,还包括一个将用户重定向到Odoo登录页面的链接。
更改用户密码¶
进入 ,选择一个用户进入其表单。点击 ⚙️操作 图标,从下拉菜单中选择 更改密码。在弹出的 更改密码 窗口的 新密码 栏中输入新密码,点击 更改密码 确认更改。
点击 更改密码 后,页面将重定向到 Odoo 登录页面,在此可使用新密码重新访问数据库。
Multi companies¶
The Companies field on a user form determines which companies a user can access. To configure multi-company access, navigate to . Then select the desired user to open their user form.
In the Access Rights tab, under the Roles section, configure the Companies and Default Company fields:
Companies: Select one or more companies the user can access. The user’s access and editing permissions are determined by their assigned access rights.
Default Company: Select the company that is automatically selected when the user logs in. Only one company can be set as the default.
警告
Incorrectly configuring multi-company access can result in inconsistent behavior across companies. Only experienced Odoo users should modify user access rights in databases with a multi-company configuration. For technical explanations, refer to the developer documentation on Multi-company Guidelines.
其他资料