英文:
Error when adding styles to a view in odoo 16
问题
根据错误信息,似乎问题与系统中找不到外部 ID "web.assets_backend" 有关。是否有一个模块可以添加该 ID,或者是否有手动添加它的方法?还是有其他方法可以添加样式而不使用 "web.assets_backend" 和 "web.assets_frontend"?我将等待您的答案。我尝试了安装 web 模块和 web_site 模块,以查看是否可以添加外部 ID,但都没有效果。我还尝试了其他方法来添加样式,但对我来说都没有效果。
英文:
I've created a module and it works fine, but when I add styles to it I can't install it.HERE I COPY THE SCREENSHOTS TO HELP ME RESOLVE.Image del manifest.py Part of code xml Directory of my files error
Based on the error message, it seems that the problem is related to the external ID "web.assets_backend" not being found in the system. Is there a module that adds that id, is there a way to add it manually? Or is there another way to add styles without using "web.assets_backend" and "web.assets_frontend"? I will be waiting for your answers tried, installed the web module, web_site to see if I can add the external id but nothing works, tried to add styles with other methods but it doesn't work for me.
答案1
得分: 1
只删除您的XML资产部分。
英文:
You're mixing new and old way to change/add assets. Just remove your xml assets part.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论