我正在关注建立网站的Odoo 10 doc,它说要安装学院模块,但我找不到它!
更新列表显示此错误
https://apps.odoo.com/web/content/1443101-3f91498/web.assets_backend.js:1719
Traceback:
TypeError: Cannot read property '$el' of undefined
at https://apps.odoo.com/web/content/1443101-3f91498/web.assets_backend.js:1719:1100
at https://apps.odoo.com/web/content/1442937-ea2658f/web.assets_common.js:547:681
at fire (https://apps.odoo.com/web/content/1442937-ea2658f/web.assets_common.js:541:299)
at Object.fireWith [as resolveWith] (https://apps.odoo.com/web/content/1442937-ea2658f/web.assets_common.js:546:198)
at https://apps.odoo.com/web/content/1442937-ea2658f/web.assets_common.js:547:874
at fire (https://apps.odoo.com/web/content/1442937-ea2658f/web.assets_common.js:541:299)
at Object.fireWith [as resolveWith] (https://apps.odoo.com/web/content/1442937-ea2658f/web.assets_common.js:546:198)
at deferred.(anonymous function) (https://apps.odoo.com/web/content/1442937-ea2658f/web.assets_common.js:548:56)
at fire (https://apps.odoo.com/web/content/1442937-ea2658f/web.assets_common.js:541:299)
at Object.add [as done] (https://apps.odoo.com/web/content/1442937-ea2658f/web.assets_common.js:542:467)
答案 0 :(得分:0)
这个答案对你来说可能有点晚,但我认为在遇到这个问题时它会帮助别人。 1.更改文档中的命令
$ ./odoo-bin --addons-path addons,my-modules
以下(使用文件夹my-modules的完整路径):
$ ./odoo-bin --addons-path addons,/opt/odoo/odoo-10.0/my-modules/
转到http://localhost:8069,如果找不到名为academy
的应用,请将debug
添加到网址中,如下所示:
localhost:8069/web?debug#view_type...
之后,点击左侧菜单中的Update
或Update Apps List
选项,您会在应用列表中找到academy
模块。
希望这有帮助!