Skip to Content
Menu
This question has been flagged
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'}


Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
2
Sep 24
2744
0
Nov 23
541
0
Jul 24
256
1
Aug 23
1296
0
Jun 23
948