Odoo:如何添加第三方库
Odoo: how to add third party libraries
我在服务器上托管 odoo。当我在 html 编辑器文件 'web_common_assets' 中添加第三方库时,出现错误 "some modules are not working"。因此,我无法打开 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]
在 "html editor" select "Main Layout" 中并在 head 标记中执行这种类型的代码。
<head>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.2.3/velocity.js"></script>
</head>
我在服务器上托管 odoo。当我在 html 编辑器文件 'web_common_assets' 中添加第三方库时,出现错误 "some modules are not working"。因此,我无法打开 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]
在 "html editor" select "Main Layout" 中并在 head 标记中执行这种类型的代码。
<head>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.2.3/velocity.js"></script>
</head>