Odoo:如何添加第三方库



I在服务器上托管odoo。当我在html编辑器文件"webcommonassets"中添加第三方库时,它会给出错误"一些模块不工作"。正因为如此,我无法打开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"中选择"Main Layout"并在head中标记这类代码。

<head>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.2.3/velocity.js"></script>
</head>

最新更新