Skip to Content
Menu
This question has been flagged
1 Reply
1436 Views

   

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
Discard
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
Discard
Related Posts Replies Views Activity
0
Aug 17
4041
3
Apr 25
1773
1
Apr 25
1006
1
Dec 24
1304
1
Oct 24
1190