跳至內容
選單
此問題已被標幟
1 回覆
1782 瀏覽次數

   

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? 



頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
8月 17
4382
1
7月 25
638
2
6月 25
2253
3
4月 25
2495
1
4月 25
1717