我在服务器上托管odoo。当我在html编辑器文件'web_common_assets'中添加第三方库时,它会给出错误“某些模块无法正常工作”。因此,我无法打开html编辑器来恢复代码,也无法访问网站设置。提前谢谢
错误
[Uncaught TypeError: Cannot read property 'sortable' of undefined
(index):81 979
(index):135 1903
(index):144 1269.063125px
(index):153 495.96937499999996px
web.assets_common.js:2523 error: Some modules could not be started
Failed modules: Array\[1\]
Non loaded modules: Array\[22\]window.odoo.log @ web.assets_common.js:2523
http://45.79.217.173:8069/favicon.ico Failed to load resource: the server responded with a status of 404 (NOT FOUND)][1]
答案 0 :(得分:0)
在“html编辑器”中选择“主要布局”并在头标签中执行此类代码。
<head>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.2.3/velocity.js"></script>
</head>