Odoo 11.0 modules: Missing dependencies: (2) [“web.form_relational”, “web.form_common”]

£可爱£侵袭症+ 提交于 2019-12-24 08:59:55

问题


I'm using the project_team module for my instance, and I'm getting this warning in the browser console: Non loaded modules: ["project_team.form_rel"].

Searching deep in the module i found that the origin of this problem in this: Missing dependencies: (2) ["web.form_relational", "web.form_common"]

I could see that those modules are present in odoo 10.0 and it's not in 11.0.

I think it requires an update, but i cannot find any information about how can we replace this two old modules in the new odoo version.

Anyone can help me?

Thank you very much.


回答1:


It's a sad answer, but IMHO it's the right one: if the module needs fixing, you have to fix it.

From Odoo 10 to 11, almost all the JS was refactored, so many JS add-ons don't work out of the box when migrating them. You have to dig through the code to search where are those features you need, and patch the add-on. A good place to start searching is the addons/web/static/src/js folder. The JS reference might help you too.

Another thing that should help is running Odoo in development mode with assets (append ?debug=assets to the URL), which should also log in the console the reasons a given JS module hasn't been loaded, and loads the unminified sources to allow easier debugging.

Finally, if you can provide good logs and a good reproducible case, there are chances that if you publish an issue in the corresponding github project, maintainers help you.

I hope it helped you.



来源:https://stackoverflow.com/questions/51318902/odoo-11-0-modules-missing-dependencies-2-web-form-relational-web-form-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!