Skip to Content
Menú
This question has been flagged
2 Respostes
5713 Vistes

Hi community, this is the thrid time I wrote looking for your help.

After download and upgrade a backend module, I can't access any module of my ODOO server, here the error that I'm receiving, is in Spanish, but basically said that some element cannot be found and now I can´t access the information or anything that I have in this server, please your help is very appreciate it.

"odoo.addons.base.ir.ir_ui_view: El elemento '<xpath expr="//nav[@id='oe_main_menu_navbar']">' no pudo ser ubicado en la vista padre Error de contexto: Vista `App Drawer - Web Client` [view_id: 1456, xml_id: web_responsive.webclient_bootstrap"

If you need more info please let me know

Avatar
Descartar
Hi Xavier, I tried to access the modules using the links that you share with me but I received the same message
  • [domain]/web#menu_id=69&action=76 (for Configuration menu)

  • [domain]/web#view_type=kanban&model=ir.module.module&menu_id=69&action=37 (for application menu)

Any idea?

On 15 Nov, 2017, at 12:53 PM, Xavier Brochard <zeroheure@gmail.com> wrote:


A new answer on ODOO 10. Can't access any module. Internal Server Error due to installation of Backend has been posted. Click here to access the post :

See post

--
Xavier Brochard


Sent by Odoo S.A. using Odoo.

See Shurshilo answer

Best Answer

Hi, just in the xml file that inherits the parent view, it can not find the item in the xml tree of the parent, you can just comment out this line and see what will happen, but maybe some of the functionality will stop working. It is necessary to look at the codes of the parent, write tomy email or help. 

if at the same time you do not know how to undo the changes, just comment out in the module folder that you installed in the __opener_ file. By all the files that it connects, when you reboot the server, you will get a dummy module and display the interface)

Avatar
Descartar

Very clever

Best Answer

The error message is about a view that couldn't be inserted in another view because the expected xml code from the another view is not present (more or less, I've simplified). A "view" in this case is an element in your website page. These elements are managed by templates in xml and xpath instructions to locate the insertion place.

The problem is only on the website part. You can still access Odoo backend with direct URL.

You can try

  • [domain]/web/database/manager

  • [domain]/web/database/selector

  • [domain]/web#menu_id=69&action=76 (for Configuration menu)

  • [domain]/web#view_type=kanban&model=ir.module.module&menu_id=69&action=37 (for application menu)

Remove the faulty module (the updated one) first.

Then try to fix the error on a copy of your database. You have to change something in the XML template from the module. The template is a XML file that should be located in the "views" folder of the module. You need an intro to XPath to locate the error.

Avatar
Descartar