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.
Asked
Active
Viewed 78 times
-2
-
You'll like get responses if you do not paste images of code. Here is why: https://meta.stackoverflow.com/a/285557/1847378 – AndrewL Jul 11 '23 at 22:00
1 Answers
1
You're mixing new and old way to change/add assets. Just remove your xml assets part.

CZoellner
- 13,553
- 3
- 25
- 38
-
https://i.stack.imgur.com/os6Nn.png Greetings, delete the code.
-
No errors in the odoo server log about that? Your code should work now, like described in the [doc](https://www.odoo.com/documentation/16.0/developer/reference/frontend/assets.html#bundles) – CZoellner Jul 07 '23 at 14:01
-
remove this code:
-
File "E:\Sistema Empresarial\odoo\odoo\addons\base\models\ir_model.py", line 2016, in _xmlid_lookup raise ValueError('External ID not found in the system: %s' % xmlid) ValueError: External ID not found in the system: web.assets_backend – Admin Server Jul 07 '23 at 14:31
-
File "E:\Sistema Empresarial\odoo\odoo\tools\convert.py", line 711, in _tag_root raise ParseError('while parsing %s:%s, somewhere inside\n%s' % ( odoo.tools.convert.ParseError: while parsing None:56, somewhere inside