Skip to Content
Menú
This question has been flagged
1 Respondre
1790 Vistes

   

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
Best Answer

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
Related Posts Respostes Vistes Activitat
0
d’ag. 17
4385
1
de jul. 25
649
2
de juny 25
2256
3
d’abr. 25
2498
1
d’abr. 25
1729