I'd like to add a menu to the odoo site. I wanted to inject the new item directly into model.website, but I've noticed that it persists in the database and if I change the url, I have to raze everything before it takes. I read somewhere that I could do template inheritance, but I don't understand how it works. I've looked through articles without really understanding. I still have this error, but when I go to the browser inspector, I can see this class.
Error : "RPC_ERROR
Odoo Server Error
Occured on localhost:8069 on model ir.module.module and id 34 on 2025-07-21 13:07:12 GMT
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/convert.py", line 548, in _tag_root
raise ParseError(msg) from None # Restart with "--log-handler odoo.tools.convert:DEBUG" for complete traceback
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
odoo.tools.convert.ParseError: while parsing None:7
Erreur lors du parsing ou de la validation de la vue :
L'élément '<xpath expr="//ul[@id='top_menu']">' ne peut être localisé dans la vue parente
View error context:
{'file': '/mnt/extra-addons/visit_veone/views/visit_veone_custom_menu.xml',
'line': 1,
'name': 'Ajouter lien visite (desktop)',
'view': ir.ui.view(1436,),
'view.model': False,
'view.parent': ir.ui.view(611,),
'xmlid': 'visit_veone_menu_item'}
The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPCError@http://localhost:8069/web/assets/eef1bc0/web.assets_web.min.js:3141:338
makeErrorFromResponse@http://localhost:8069/web/assets/eef1bc0/web.assets_web.min.js:3144:163
rpc._rpc/promise</<@http://localhost:8069/web/assets/eef1bc0/web.assets_web.min.js:3149:34
"
Have you tried to implement the new menu with studio?
Please share visit_veone/views/visit_veone_custom_menu.xml as this results in an error according to your post.