Skip to Content
Menu
This question has been flagged
2 Replies
5617 Views

By default odoo displays products by "Last added" i think that's a natural way to show them, but i need to display them by A to Z order

So i need to know how can i do this, if need to change something in a view, or i need to set a controller

thanks

Avatar
Discard
Best Answer

Hi Kevin,

Below will work in sorting products A to Z

On the website_sale controller
With this method -->  _get_search_order(self, post) 

you can add the Orders like "post.get('order', 'name asc')"

Thanks.


Avatar
Discard
Best Answer

Watch one of these Youtube Videos

1. Linux - How to Order Odoo Website Shop Products Alphabetically, https://www.youtube.com/watch?v=kmHIK9T2Ef0

2. Windows - How to Order Odoo Website Shop Products Alphabetically, https://www.youtube.com/watch?v=msfruoLLzb8

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 23
423
0
Sep 22
803
1
Apr 21
4447
1
Jan 19
3555
3
Apr 24
1522