Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1507 Vistas

   

This's not working.


Error while parsing or validating view:

Element '' cannot be located in parent view


But I've checked the website app. it's working here. 

Anyone have Idea what is wrong? 



Avatar
Descartar
Mejor respuesta

Hi, 

This error is arising because you are trying to inherit the wrong template. So Odoo is unable to locate the specified element in the parent view specified by the XPath expression.


1) Ensure that the parent view specified in the XPath expression exists and has the expected structure.
2) If the parent view is a template or inherits from another view, ensure that the target element is present in the appropriate section or location within the parent view.3) If you're referencing views or elements from other modules, ensure that the necessary dependencies are correctly specified in your module's manifest file (__manifest__.py).
4) Verify that the module containing the parent view is installed and properly configured.

Regards

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ago 17
4153
3
abr 25
1881
1
abr 25
1098
1
dic 24
1535
1
oct 24
1295