Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2007 Lượt xem

Hi all,

I have upgraded a database from odoo15 version to odoo16 from odoo.sh(enterprice). But, when I try to open a webshop in odoo16 i got an error. The error is mentioned below:
Element '' cannot be located in parent view.

I have checked the error and I think that the error is coming from website_sale module.

Does any one know how to solve this issue. Thanks in advance.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

This o_wsale_product_page class is not present in odoo15. This is the extra class present in odoo16 website_sale --> views --> template.xml --> . When you are changing from odoo15 to odoo16 you have to add this class in div having the class name="js_sale". 

This is important as there are many templates in website_sale template.xml which are inheriting this template having id="product" by using this class name o_wsale_product_page.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 6 24
2794
1
thg 9 23
1872
1
thg 7 23
2959
0
thg 6 23
948
1
thg 1 23
14966