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

I have this error while trying to upgrade my Odoo version 15 to version 17


Error while render the template KeyError: 'product.wishlist' Template: website_sale_wishlist.header_wishlist_link Path: /t/t/t[2] Node:

The error occurred while rendering the template website_sale_wishlist.header_wishlist_link and evaluating the following expression: 


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

Hi,

It appears that there's a problem with rendering the template associated with the wishlist functionality in the website sale module of Odoo. The error message suggests a KeyError, indicating that the key 'product.wishlist' is referenced in the template but is not found in the current context where it's being evaluated. To address this issue, review the template code. Examine the template file 'website_sale_wishlist.header_wishlist_link' to identify where the key 'product.wishlist' is being used. Ensure that it's correctly defined and accessible within the context where it's being called.


Hope it helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 10 24
1624
5
thg 6 25
14983
0
thg 12 23
17
1
thg 6 25
1676
3
thg 7 25
3304