Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2502 Lượt xem
Element 't name="Sort-by Template" t-name="website_sale.sort"' cannot be located in parent view

View error context:
{'file': '/home/developer/Documents/odoo_16/Odoo/addons/website_sale/views/templates.xml',
 'line': 1,
 'name': 'Sort-by Template',
 'view': ir.ui.view(1868,),
 'view.model': False,
 'view.parent': ir.ui.view(1866,),
 'xmlid': 'products'}


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

Hello rqasim.knysys,

Hope you are doing well.

Firstly this is a Odoo's issue which is fixed in the latest update.

I have also replicated this issue in to an existing database and to solve this I have uninstalled website_sale module and installed it again after taking latest pull of V16 odoo. I also upgraded this module again and the issue was fixed.

So in your database, if there is no any important record then you can uninstall this module and again install this module with latest pull. From this process, your issue is might be solved.

The reason for this might be that your database was created when this issue was in Odoo's code, after few updates the issue was fixed by Odoo but your DB still had the old code/views so you are getting issues when updating the app. Please follow the above steps and it 'll be solved.

I hope this will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 25
2025
2
thg 9 24
4349
0
thg 7 24
256
1
thg 8 23
3191
0
thg 6 23
948