Skip to Content
Menu
This question has been flagged
1 Odpoveď
1789 Zobrazenia

   

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
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
aug 17
4385
1
júl 25
648
2
jún 25
2256
3
apr 25
2498
1
apr 25
1728