我有 Odoo 17 本地安装。我安装了一些模块,然后不知何故,当单击仪表板应用程序时,此错误开始直接显示在浏览器中:
The following modules are needed by other modules but have not been defined, they may not be present in the correct asset bundle:
@spreadsheet/hooks
The following modules could not be loaded because they have unmet dependencies, this is a secondary error which is likely caused by one of the above problems:
@spreadsheet_edition/bundle/actions/abstract_spreadsheet_action
@spreadsheet_dashboard_edition/bundle/action/dashboard_edit_action
我在 GitHub issues 或其他地方找不到有关此错误的任何内容。怎么会发生这样的事情,我该如何修复它,而不需要从头开始一个新的数据库?我能以某种方式找到丢失的代码并再次安装吗?
好像缺少一些JS代码?
您是正确的,缺少 JavaScript 代码。您使用的是本地数据库,因此我假设您的核心 Odoo 源代码可能位于企业源代码后面。企业代码引用社区代码中的电子表格导入。尝试确保两个源都是最新的,重新启动数据库,它应该可以解决问题。您不需要从头开始重新创建数据库。